Hi,
I am new to BaseX and documentation is also not very helpful for me. I am trying to deal with a collection of XML files present on the server. I am able to access those files using REST .

What I want to do is read those XML files from a collection present in a certain folder and using Xpath/Xquery get certain nodes from these files and populate a RDBMS corresponding to them.

For example:
&gt bookstore &lt
    &gt book &lt  abc &gt/ book &lt 
     &gt price &lt 123 &gt /title &lt
     &gt title &lt xyz &gt /title &lt
&gt /book &lt

I have 10 of these files in my collection. So my question is how can I query all these Xml files at ones and get specific results like "Books with price value greater than 100". Once I get these results I want to store the result in a RDBMS so that at later point I can query that RDBMS to generate certain reports.


NOTE: I am a graduate student and just doing this for learning and academic purpose.

Hope to hear from someone soon.

--
Ankur
ankur.kasliwal.26@gmail.com
001-(916)673-7559