[Home] [By Thread] [By Date] [Recent Entries]


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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member