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] semantics in schema (xsd)

[ Lists Home | Date Index | Thread Index ]

> I'm creating a schema file but by several times I feel the needed of
> something to validate my sub-elements in tree (children elements)
> subordinated to an attribute value on the parent element.
>
> Is it possible to validate this with the schema semantics?

This requirement is not directly possible in XML Schema-- though you can add
schematron rules to support it. In RELAXNG it is a snap... is that an
option?

Cheers,
Jeff Rafter





 

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

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