Re: [xsl] get the parent of the node returned by current() funcion.

Subject: Re: [xsl] get the parent of the node returned by current() funcion.
From: George Cristian Bina <george@xxxxxxxxxxxxx>
Date: Sun, 14 May 2006 13:01:51 +0300
Hi,

Use current()/parent::node()

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


Jagsmiles wrote:
xsl has current() function which returns the current node.

does it has something like parent() which returns the parent of the
node returned by current() funcion.

I have to use within a select expression of <xsl:sort> element.,
I have to get the information of current()' parent within the context
of other node.
i tried using .. , parent::* , but they are behaving with reference to
the other node, and not with reference to the node returned by
current() node.


Thanks, Jagsmiles.

Current Thread