Subject: Re: [xsl] get the parent of the node returned by current() funcion. From: Jagsmiles <jagsmiles@xxxxxxxxx> Date: Sun, 14 May 2006 18:47:11 +0200 |
thanks very much. it really worked, now i can traverse to any of the node relative to current() node.
Greetings, Jagsmiles.
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] get the parent of the nod, George Cristian Bina | Thread | [xsl] Preserve CDATA for all elemen, Jagdishwar (Jagsmile |
RE: RE: [xsl] Isolating specific el, cknell | Date | [xsl] Preserve CDATA for all elemen, Jagdishwar (Jagsmile |
Month |