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: Re: [ubl-dev] UBL compatible instance and schema


At 2012-09-04 14:27 +0200, Marcel Trawny wrote:
Have anybody customizing UBL example files (xsd + xml). I need UBL compatible documents to develop a custom invoice message.

You can choose to simply document the subset of UBL you wish to use and then use the complete schemas to validate that your instances are still UBL compatible. There are example instances for, respectively, UBL 2.0 and UBL 2.1 PRD2 here:

  http://docs.oasis-open.org/ubl/os-UBL-2.0-update/xml
  http://docs.oasis-open.org/ubl/prd2-UBL-2.1/xml

I have a free environment with which people can create subset schemas:

  http://www.CraneSoftwrights.com/resources/ubl/index.htm#filterXSDDK

There is a more elaborate schema subset generator that is a free adjunct to the PDF book that I sell ... this is an add-on to OpenOffice:

  http://www.CraneSoftwrights.com/sales/Crane-UBLProfile

What I like about my approach to the subset schemas is that I leave the original pruned declarations in the file by making them into XML comments. This way someone inspecting the subset schema can be reassured, visually, that the changes made to the schema are subset-compatible.

I can't think of any organization that has publicly published their subset UBL schema as an example.

I hope this helps.

. . . . . . . . . . . . Ken


--
Public XSLT, XSL-FO, UBL and code list classes in Europe -- Oct 2012
Contact us for world-wide XML consulting and instructor-led training
Free 5-hour lecture: http://www.CraneSoftwrights.com/links/udemy.htm
Crane Softwrights Ltd.            http://www.CraneSoftwrights.com/u/
G. Ken Holman                   mailto:gkholman@CraneSoftwrights.com
Google+ profile: https://plus.google.com/116832879756988317389/about
Legal business disclaimers:    http://www.CraneSoftwrights.com/legal



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