RE: [xml-dev] Attribute Order

From
Michael Fitzgerald <>
To
Jeff Lowery <>,
Date
2001-12-10T15:08:41Z
ID
<>
Thread
RE: [xml-dev] Attribute Order
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