thanks very much. it really worked, now i can traverse to any of the
node relative to current() node.
Greetings,
Jagsmiles.
On 5/14/06, George Cristian Bina <george(_at_)oxygenxml(_dot_)com> wrote:
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.
>
> --~------------------------------------------------------------------
> XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
> To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
> or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
> --~--
>
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--