xml-xindice-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "tycho brahe" <t_br...@hotmail.com>
Subject re: XPath query on ONE document
Date Sun, 19 Oct 2003 15:32:22 GMT
you can add the 'name' parameter

params.put(RPCDefaultMessage.NAME, "name of the file");

in fact, when I dont specify 'name', I get a complaint, so I'm unable to 
query an entire collection so far.

/tycho


Is there a way with Xindice to execute a XPath query
against only one document instead of the whole
collection ?

The only solution I found was to add the document id
inside the document and execute a query on the element
I really cared about like :

/db/root/id[.=12]/../customer/name

But that's not so clean.

Thanks, Matt.

_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE* 
http://join.msn.com/?page=features/junkmail


Mime
View raw message