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

Re: RE : Accessing parent node context

Subject: Re: RE : Accessing parent node context
From: "Mohsen Saboorian" <mohsens@xxxxxxxxx>
Date: Tue, 27 Jun 2006 16:25:20 +0330
mohsen saboorian
Thanks,
but I thought that there might be some function or kind of axes for
doing that. is there any?

On 6/27/06, Florent Georges <darkman_spam@xxxxxxxx> wrote:
Mohsen Saboorian wrote:

Hi

> Is there a way to access the context tree of the parent xslt
> elements.

Yes, with a variable:

    <xsl:variable name="root" select="/"/>
    <xsl:for-each select="document(...)/*/*">
      <xsl:value-of select="$root/..."/>
    </xsl:for-each>

Regards,

--drkm





























___________________________________________________________________________
Yahoo! Mail riinvente le mail ! Dicouvrez le nouveau Yahoo! Mail et son
interface rivolutionnaire.
http://fr.mail.yahoo.com

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.