xsl-list
[Top] [All Lists]

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

2006-06-27 05:55:44
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(_at_)yahoo(_dot_)fr> 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 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>
--~--



--~------------------------------------------------------------------
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>