XPath and XQuery with XMLBeans
Below is a screen shot of schema that i am working on. i need help on constructing XQuery which i am planning to use with XMLBeans.
The problem:
the 'levels' tag should be +/-1 except if its in result. now what would be the XPath and Xquery for that?
summary of the xml
<selecetion min accurs is =1 and max is unlimited>
<qualification min accurs is =0 and max is unlimited>
<extension min accurs is =0 and max is unlimited>
<resultmin accurs is =1 and max is unlimited>