Hi,
I hava a schema question. I need write a schema to validate the following
sample XML file, the key is that at least one <Group> node is exist, and at
least one of its <Id> is the "Invoice" value, other <Group>/<Id> could be
anything. I think I need use "Choice", but not sure how to do it, any hint
will be help.
<?xml version="1.0" encoding="UTF-8" ?>
<Root>
<Group>
<Id>Invoice</Id>
<value>123456</value>
</Group>
<Group>
<Id>Anything1</Id>
<value>99999</value>
</Group>
<Group>
<Id>Anything2</Id>
<value>888888</value>
</Group>
</Root>
Thanks,
Benson.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]