[xsl] RE : [xsl] Accessing parent node context

Subject: [xsl] RE : [xsl] Accessing parent node context
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Tue, 27 Jun 2006 14:43:21 +0200 (CEST)
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