OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   RE: [xml-dev] Attribute Order

[ Lists Home | Date Index | Thread Index ]

Jeff Lowry wrote:
>In this particular case, I'm thinking that NOTHING can be specified in a
>declarative grammar for this data model. I have to look again at RELAX NG,
>though, as it might handle the case where ordered elements are interrupted
>by unordered insertions of other elements (some unspecified). I'm thinking
>not.

In RELAX NG, you can intersperse unordered element content within ordered
element content with <interleave>:

http://www.oasis-open.org/committees/relax-ng/tutorial-20011203.html#IDAN1YR

With RELAX NG name classes, you can also match unspecified content using a
name-class with <anyName/>:

http://www.oasis-open.org/committees/relax-ng/tutorial-20011203.html#IDAFLZR

Mike





 

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

Copyright 2001 XML.org. This site is hosted by OASIS