You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-users@xml.apache.org by Michael Cortez <mc...@fullcoll.edu> on 2002/05/17 01:51:23 UTC

Query across collections?

Is it possible to query across collections with xpath?

i.e.

root
-- collection1
-- -- doc1
-- -- -- <node>1</node>
-- -- -- <node>2</node>
-- collection2
-- -- doc2
-- -- -- <node>3</node>
-- -- -- <node>4</node>
-- -- doc3
-- -- -- <node>5</node>
-- -- -- <node>6</node>


I would like to get all 6 node elements, from all three documents, from both
collections.


To get the nodes right now I have to do (from Xindice):

xmldb:xindice://localhost:4080/db/collection1/#/node
xmldb:xindice://localhost:4080/db/collection2/#/node


I'd like to do something like:
xmldb:xindice://localhost:4080/db/*/#/node


Is that possible?

--
Mike