On Fri, Oct 10, 2014 at 10:31 AM, Christian Grün <christian.gruen@gmail.com> wrote:
Hi Mansi,

Out of interest: why don't you simply store all documents in the
database and use the document path as ID?

I am storing deeply nested hierarchal data in XML files. Simply put, most of my queries are going to be relative (For e..g //@name). So, I am assuming it would be a huge performance hit. Specially, when I know each "ID" will most definitely have multiple XML documents. Correct me, if I am wrong here.

as BaseX is a native XML store, there is no way to store data in
structures like tables. However, due to the flexibility of XML
structures, the usual way is to create another document or database
that contains ID and additional meta data.

I don't know, if I follow you completely here. Is there some metadata information which I can use, which maps each XML file stored in NXD to another relational database you discussed above, which I can use for mapping ?
 

Best,
Christian



--
- Mansi