Just speculating, but I believe that XPointer has a notion of ranges of XPaths. You might be able to find an XPointer implementation somewhere that would carry out the extraction and glue it into your Xindice client (or even as an XMLObject in the server).
Jeff ----- Original Message ----- From: "Rizwan Virk" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Saturday, July 06, 2002 4:31 AM Subject: RE: Retieving parts of documents using XPath on a collection | You could probably do this using XSL (though I haven't actually done it) - | the way to do it would be to use XPATH to find the nodes you're interested | in - and then instead of copying the node from the input to the output, just | output the current node name and its attributes without copying it's | children. (Using xsl:element and the nodename variable.... | | Of course, at this point, you're writing code so you just might want to go | ahead and do it with DOM (which is relatively straightforward using Java,
