Hi everyone,
I'm having quite a hard time on constructing my 1st XML Schema. I need it to verify the correctness of an XML document that forms a questionnaire.
So here's the section in don't get:
I changed the source. The 1st answer refers to this code:
<root>
<values>
<value>Lorem</value>
<value>ipsum</value>
<value>dolor</value>
</values>
</root>
Now my actual goal is this:
<requires>
<require requires-id="2" type="included">
<values>
<value isRequired="true">Lorem</value>
<value isRequired="false">Lorem</value>
<value isRequired="false">Lorem</value>
</values>
</require>
<require requires-id="5" type="excluded">
<values>
<value isRequired="true">Lorem</value>
<value isRequired="false">Lorem</value>
</values>
</require>
</requires>
Can anyone please help to make a proper Schema? I'm using Sun Multi-Schema XML Validator (MSV) to validate the document against the Schema.
Thanks in advance,
Steff