[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: get the parent of the node returned by current()

Subject: Re: get the parent of the node returned by current() funcion.
From: Jagsmiles <jagsmiles@xxxxxxxxx>
Date: Sun, 14 May 2006 18:47:11 +0200
get current node
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@xxxxxxxxxxxxx> 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.

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.