Installation
[Back To Page Map]
You should first download and install the latest version
of
eXtensible Programming
Script (XPS) v3.2p. At least v3.2p and above is necessary.
It is, however, recommended that you install the latest version
of XPS, such as XPS v3.3p. Some file operations and GUI
interactions are designed to take advantage of latest technologies
embedded within XPS v3.3p.
Once you have installed XPS v3.2p (or above), you can then
download and install the
UBLish v1.0b.10 package
by unzipping it anywhere within your PC's harddisk. The UBLish script
("UBLish-1.0b.10.xps")
is ready to go inside the ./bin/ directory.
In the description that
follows, we refer to the sub-directories and files with
the assumption of current directory being the top-level
directory of the unzipped UBLish archive, and referred to
as "./".
You will find the following sub-directories:
./bin/
[Back To Page Map]
This binary directory contains the UBLish application
"UBLish.xps" itself. It is an XPS application, which
means that you can also look at the content using a text
editor. As XPS carries a syntax similar to C or Perl,
it would not be too difficult for a programmer familiar
with them to read the script, even without prior knowledge
of XPS. However, you are not advised to modify the script
unless you are perfectly sure what you are doing.
You must have installed XPS with at least version 3.2p
or above in order to run UBLish v1.0b.10 properly. If you
had done that, you should see the files displayed as a
little red inverted 3D prism. Once you double-click that,
you launch UBLish.
If you don't see the red inverted 3D prism, check that
you have installed XPS v3.2p. If you had installed earlier
versions of XPS, it is a good idea to uninstall them first
before installing v3.2p. To do that, go to
Start -> Control Panel -> Add/Remove Programs
and select the old XPS version to uninstall.
Why do you need to use the spreadsheets contained in UBLish v1.0b.10
package?
[Back To Page Map]
The spreadsheets contained in the "./xls/" subdirectory are
properly formatted and optimized for use by UBLish. Stray
columns are removed to enhanced readability and to limit
unnecessary processing of empty columns. However, the contents
are exactly the same as those in the UBL 1.0-beta archive.
./etc/
[Back To Page Map]
This contains the initial splash screen graphics bitmap.
./xls-dir/
[Back To Page Map]
This is the source spreadsheet input directory used by UBLish to
retrieve source data models to generate document schemas.
More specifically, this is used when the menu functions under
"Spreadsheet-->Schema" are clicked.
You should not remove these spreadsheets, since UBLish expects
them as inputs to generate schemas. However, if you did delete
these spreadsheets, or rename them to some other names, UBLish
would not crash either, other than displaying some error messages
about spreadsheets not being found.
./xls2-dir/
[Back To Page Map]
This is the re-generated spreadsheet output directory used by UBLish to
store generated spreadsheets under the "Schema-->Spreadsheet"
functions.
./xls-template/
[Back To Page Map]
This sub-directory stores template files required by UBLish
to perform "Schema-->Spreadsheet" functions. They should not
be opened or modified.
./xsd-dir/
[Back To Page Map]
This is the schema output directory used by UBLish to store
generated schema files under the "Schema-->Spreadsheet" functions.
Note that all such functions require a previously generated
copy of "Reusable" schema file stored in the schema directory
"./xsd-dir/" with the filename "UBL-Reusable-1.0-beta.xsd".
If UBLish does not find the Reusable schema file, it will prompt
for you to specify the location of either the Reusable schema
file stored else where and make a copy, or the Reusable source
spreadsheet to generate a Reusable schema automatically.