xsl-list
[Top] [All Lists]

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

2006-06-27 05:43:39
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 réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.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>
--~--

<Prev in Thread] Current Thread [Next in Thread>