RE: [xsl] How do I locate the parent of this node?

Subject: RE: [xsl] How do I locate the parent of this node?
From: steve.l.lake@xxxxxx
Date: Thu, 17 Oct 2002 11:29:42 +0100
Aha! Sorry, folks - I got the XML structure wrong! It all works now I've
removed the inconsistency whereby I'd mixed attributes and elements...

Whoops!

Steve Lake



-----Original Message-----
From: David Carlisle [mailto:davidc@xxxxxxxxx]
Sent: 17 October 2002 11:02
To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [xsl] How do I locate the parent of this node?



> Should it look like this?...
> 
> parent::$currentNode
> 
> or something else?

 Something else.

If $currentNode contains a node, then its parent is $currentNode/..

David

_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread