Altova Mailing List Archives>Archive Index >xmlschema-dev Archive Home >Recent entries >Thread Prev - RE: [XML Schema 1.1] I need an example that illustrates the [Thread Next] RE: [XML Schema 1.1] I need an example that illustrates theTo: "'Costello, Roger L.'" <costello@-----.--->, <xmlschema-dev@--.---> Date: 7/22/2009 7:03:00 PM > Doesn't this achieve the same result (I simply omitted the > third alternative): > > <element name="template"> > <alternative test="@name" type="xslt:named-template"/> > <alternative test="@match" type="xslt:template"/> > </element> > I think the default if none of the alternatives match is not xs:error, it is the "declared type" of the element, which in this case is xs:anyType. Regards, Michael Kay http://www.saxonica.com/ http://twitter.com/michaelhkay | ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
