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


Hi Martin,

> What I need are several rules like:
> name = "value1" --> there must be a "subcontent1" with
> "subchoice1a", annother "subcontent1" with "subchoice1b" can occur
> and "subcontent2" can occur.
>
> I understand your mail that that is not possible to specify such
> constraints in plain schema. Am I correct? Do I always need an
> external rule engine like Schematron or Relax NG for that?

Yes. W3C XML Schema is limited in this regard.

Cheers,

Jeni

---
Jeni Tennison
http://www.jenitennison.com/


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