[xsde-users] sequence and any element

Boris Kolpackov boris at codesynthesis.com
Thu Sep 27 08:01:44 EDT 2012


Hi,

dvjuorw+sqsv74 at guerrillamail.com <dvjuorw+sqsv74 at guerrillamail.com> writes:

> I am looking into xsde to see if I can use XML to configure my tiny 
> linux box.  It requires:
>
> 1.  any defined element in schema cannot be removed but the xml file
>     may not contain all defined element.
>
> 2.  the xml file may contain elements that are not defined in the schema.

XML Schema wildcards are quite limited and not really suitable for this
kind of schema extensibility. It is better to use substitution groups
with XSD/e extensions that allow you to ignore/pass-through unknown
elements. Take a look at the examples in the examples/cxx/hybrid/evolution
directory.

Boris



More information about the xsde-users mailing list