xsl-list
[Top] [All Lists]

RE: variable visibility

2003-10-21 05:21:55
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



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