[xsl] Accessing a variable defined in the parent node

Subject: [xsl] Accessing a variable defined in the parent node
From: "Jaime A Stuardo Bahamondes" <jstuardo@xxxxxxxxxxx>
Date: Thu, 20 Nov 2003 09:15:03 -0400
Hi all...

If I have

<xsl:template match="direcciones">
  <xsl:param name="source" />
  <xsl:apply-templates select="ROWSET" />
</xsl:template>

<xsl:template match="direcciones/ROWSET">
  <!-- I want to access here "source" variable without the need of re-passing it as parameter -->
</xsl:template>

How can I do it?

Thanks
Jaime

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread