[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Rick Jelliffe on designing XML Schemas in a way that suppo
At 2012-08-19 23:14 +0100, Fraser Goffin wrote: >The most obvious example of which is used by UBL which promotes this >approach for 'value based' validation (which isn't restricted simpy to >enums and can be quite successfully used for any information item). >UBL actually takes things a little further and caters not only for >dealing with multi-version validation but also context based >validation too (i.e. different subsets that apply to different >locations within the instance). > >Ken Holman may be along shortly to correct my clumsy description. I have nothing to add, Fraser, that was said quite well. >That said, if Rick was using enums as just one possible use case for >schema volatility where schematron could play a role, and there are >others, then as Roger suggests, it is a topic that many are interested >in and probably deserves another outing. Schematron does play a role in the UBL scenario you've described, as I've published for free download an environment that converts the combination of OASIS Context/Value Association and OASIS Genericode into a synthesized Schematron expression that can then be converted into XSLT (or any other implementation of Schematron; the XSLT implementation is included in the distribution): genericode 1.0 - lists of codes with list-level and value-level meta data http://docs.oasis-open.org/codelist/ns/genericode/1.0/ context/value association using genericode 1.0 - contextual code list usage and instance-level meta data http://docs.oasis-open.org/codelist/ns/ContextValueAssociation/1.0/ Schematron implementation of CVA files for validation http://www.CraneSoftwrights.com/resources/ubl/index.htm#codelist The OASIS UBL distribution includes XSLT that is generated using this package. 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/x/ 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] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|