XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
RE: [xml-dev] Use xsd to specify multiple instances of existing element

> > ...in XSD 1.0.  It's perfectly possible 1.1 isn't it?

Yes, in either of two ways. Either by defining an assertion on the type of
the containing element, or by using conditional type assignment (where the
type of the element depends on the values of its attributes).
> 
> 
> I think XSD 1.1 allows some of the solution.  But it seems 
> that assertions are not allowed on elements 

Assertions are defined on types, rather than elements, but that just means
you need to assign the element a distinguishing type.

Michael Kay
http://www.saxonica.com/



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS