OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl-dev message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Creating a new document....


Hello.

I've finished my first draft of my 'new document from scratch'.

After my last post 1 or 2 people expressed interested in knowing how I went,
so here is a summary for those interested.

I initially tried the cut and paste method in excel that was suggested by
Chin Chee-Kai but I had little success in getting UBLish to give me an XSD
based on my new document type (Undoubtedly I am doing something wrong)

Instead I used XML Spy.

I started by attempting to reproduce the sample Invoice schema in a new xsd
and worked through the steps of setting up the xsd imports and the
namespaces by hand (I had not done this in XML Spy before so it was a
learning experience).  

Then I added the Invoice elements via CutnPaste, renaming the Invoice and
InvoiceType to JobSheet and JobSheetType to reflect the differing function
of the document schema I was creating.

After that it was a process of adding and removing elements as needed,
keeping in mind Chin's comments about treating ABIE's as atomic entities and
making sure I used the BBIE's when I needed additional basic elements (or as
the building blocks of my own types).  I also changed the cardinality of
some elements (I only need three line items for instance, not an unbounded
number)

Anyway, I've gone from 'what is UBL?' to this in about 2 man days and I'm
not sure I've done anything but create a FrankenSchema.

Anyway, I've attached a zip archive of the xsd I created and the xls which
shows the mappings from the customer CVS representation to this
FrankenSchema.  There is also a word document describing the purpose of a
Job sheet.

Thank you for your time


Regards
Steven Herod
TEDIS

JobSheetNotes.zip



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]