|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: How to improve XSD for a list with differently typed items + multiplicity and uniqueness constraints
From: Boris Kolpackov <boris@codesynthesis.com>
Date: Thu, 23 Apr 2009 08:50:10 +0200 To: gvt.junk@free.fr Cc: xmlschema-dev@w3.org Message-ID: <boris.20090423084704@codesynthesis.com> Hi, gvt.junk@free.fr <gvt.junk@free.fr> writes: > Is there any chance to write an alternate XML schema that enforce all these > rules, but produce "better-looking" compliant document that would look like > the following one, with reduced nesting levels? Yes, you can do this with substitution groups and uniqueness constraints. Boris -- Boris Kolpackov, Code Synthesis Tools http://codesynthesis.com/~boris/blog Open source XML data binding for C++: http://codesynthesis.com/products/xsd Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsdeReceived on Thursday, 23 April 2009 06:57:47 GMT |
Subscribe in XML format
|






