Subject: Re: [xsl] Parent of context node From: David Carlisle <davidc@xxxxxxxxx> Date: Thu, 22 May 2003 22:05:34 +0100 |
> Am I wrong that > "../sg" should be true if the immediate parent of the context node is <sg>? yes. If you were in directory etym on unix and went cd ../sg (or cd ..\sg on windows/dos) you wouldn't end up at your parent directory but in a sibling directory. Same is true of xpath. .. is your parent and ../sg is its sg child (ie your sg sibling) You want parent::sg David XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Parent of context node, Chris Loschen | Thread | Re: [xsl] Parent of context node, Wendell Piez |
Re: [xsl] Parent of context node, J.Pietschmann | Date | Re: [xsl] Parent of context node, Wendell Piez |
Month |