XML Schema - "dynamic"...?..

S

stiank81

Hi.

Is there any possibility to have a XML Schema witch validates
differently due to the value of some fields in the XML. Let me
explain..

What I mean is:
I have one element in the XSD, and depending on the value of that
element the rules should differ. If the value of the element is say "1"
than some of the other elements is required (minOccurs=1), but else it
isn't (minOccurs=0). So what I want to do is basically to make some
elements required if some spesific values is given in the XML.

Is there any possibilities to solve this (in the XSD)?

Best Regards,
Stian
 
S

Stan Kitsis [MSFT]

No

--
Stan Kitsis
Program Manager, XML Technologies
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,001
Messages
2,570,249
Members
46,846
Latest member
BettinaOsw

Latest Threads

Top