A
Abhinav
Hi,
I have an xml which contains the following
<a>
<!-- aa Is what I am interested in -->
<aa>
</aa>
<bb></bb>
<cc></cc>
</a>
Here, my application requires that <a> (The root element) *must* contain
<aa> tag.
However, tags such as <bb>, <cc>, or anything else might exist - they are
optional, and I do not know which of them (if at all) will be present.
How do I write the schema for it ?
Using all requires that I know which tags might appear ..
Using any doesnt allow me to check the presence of the specific tag <aa>
Any pointers on how to achieve this ?
TIA
I have an xml which contains the following
<a>
<!-- aa Is what I am interested in -->
<aa>
</aa>
<bb></bb>
<cc></cc>
</a>
Here, my application requires that <a> (The root element) *must* contain
<aa> tag.
However, tags such as <bb>, <cc>, or anything else might exist - they are
optional, and I do not know which of them (if at all) will be present.
How do I write the schema for it ?
Using all requires that I know which tags might appear ..
Using any doesnt allow me to check the presence of the specific tag <aa>
Any pointers on how to achieve this ?
TIA