You can use parent::* to ge tthe parent path.

But XPath won't give you the actual path (e.g. to put in a property or similar).

Brian wrote:



With xmltask, is there a way to get a path leading to the node, e.g., applying xmltask to the following document, looking for a node with value f2, and coming up with a/b/e/f ?














Thanks for your help,


------------------------------------------------------------------------- This email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.

_______________________________________________ Xmltask-users mailing list

Brian Agnew        
OOPS Consultancy Ltd         brian @
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012