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] Schema: defining occurences in choices?

[ Lists Home | Date Index | Thread Index ]

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/





 

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

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