xsl-list
[Top] [All Lists]

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

2002-10-17 03:29:42
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(_at_)nag(_dot_)co(_dot_)uk]
Sent: 17 October 2002 11:02
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
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



<Prev in Thread] Current Thread [Next in Thread>