RE: [xsl] variable visibility

Subject: RE: [xsl] variable visibility
From: "Ragulf Pickaxe" <jawxml@xxxxxxxxxxx>
Date: Tue, 21 Oct 2003 12:21:55 +0000
If you have:

<xsl:template match="A">
<z>
  <a>
  <b>
  <c>
  <xsl:variable name="x"/>
  <d/>
  <e><f/></e>
  <g/>
</z>
</xsl:template>

then the places where variable x is visible are the instructions d, e,
f, and g: that is, the following siblings of the xsl:variable element,
and their descendants.

Michael Kay

Well, I did not consider such (d,e,f and g) as siblings in that sense as they did not use the xsl namespace.
Thanks anyway
Ragulf Pickaxe :)


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail



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



Current Thread