Re: [xsl] Parent of context node

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


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


 XSL-List info and archive:

Current Thread