1

I want to store XML documents in a database, and perform queries such as:

"Elem1 with attribute attr1, with a sibling Elem2 with attribute attr2, with a distance of at most 2 between the siblings".

I know I can break this into two queries (elem1,attr1, then elem2,attr2 under elem1's parent) then check the distances - but is there a database that supports this kind of query without requiring me to break it?

zmbq
  • 38,013
  • 14
  • 101
  • 171
  • 3
    Voted to close because it is about a software recommendation. But to answer your question anyways: All of them. Every XML database which supports XQuery can do this, this is a standard XQuery (and just one query). – dirkk Nov 07 '15 at 11:30

0 Answers0