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


> 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


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