BAD MSG:
separate document, so XPath can only be used on each collection at a time.
ross collection querying would be very useful, and would allow us to
organise data  more logically into multiple collections (for example one
collection of User documents, one collection for auditing info etc...) Does
anyone know if this can be done??

Thanks for any answer in advance,
Peter  

-----Original Message-----
From: Michael Cortez [mailto:[EMAIL PROTECTED]
Sent: 17 May 2002 01:51
To: [email protected]
Subject: 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

Reply via email to