Saturday, May 06, 2006

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>
<level>.....etc

<qualification min accurs is =0 and max is unlimited>
<level>.....etc

<extension min accurs is =0 and max is unlimited>
<level>.....etc

<resultmin accurs is =1 and max is unlimited>
<level>.....etc










Monday, February 21, 2005

by email

test on main page