A. Bolmarcich (Tue, 08 Jun 2004 21:07:54 -0000):
As I wrote, it "contains the elements that you want". It does not
contain a tree consisting of only those elements. A program that
uses the results of this XPath expression can construct a tree
consisting only those elements.
Ok. If he has to use an other program, then he might simply use
c[@x="4"] and then use the parent-node-reference of each element
recursively towards the documentNode.
Chris
--
Chris Huebsch
www.hübsch-gemacht.de | TU Chemmnitz, Informatik, RNVS
GPG-Encrypted mail welcome! ID:7F2B4DBA | Str. d. Nationen 62, B204
Chemnitzer Linux-Tage 2005, 5.-6.März | D-09107 Chemnitz
http://www.tu-chemnitz.de/linux/tag/ | +49 371 531-1377, Fax -1803