Subject: Re: RE : Accessing parent node context
From: "Mohsen Saboorian" <mohsens@xxxxxxxxx>
Date: Tue, 27 Jun 2006 16:25:20 +0330
|
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
|