|
[XMLSCHEMA-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: A schema that uses attribute values to enforce content structure rules?
From: Michael Kay <mike@saxonica.com>
Date: Sun, 18 Jan 2009 15:33:47 -0000 To: "'Nathan Potter'" <ndp@coas.oregonstate.edu>, <xmlschema-dev@w3.org> Message-ID: <FCFF3A3505534AB284E208F6CEFD1DEF@Sealion> > I am trying to express the semantics of our content model in > an XML schema. I have a type whose allowed content is > function of the values of an attribute. That's a classical example of what you can do with "conditional type assignment" in XML Schema 1.1. It's available in Saxon 9.1 if you want to try it out. It can't be done in XSD 1.0. Michael Kay http://www.saxonica.com/Received on Sunday, 18 January 2009 15:34:27 GMT |
Subscribe in XML format
|






