sampleBooksToCatalog.xsl (17, 7): Global variable "a" has not been
defined
Ivan
> -----Original Message-----
> From: stylus-studio-tech Listmanager
[mailto:stylus-studio-tech.listmanager@stylusstudio.com]
> Sent: Friday, June 04, 2004 12:46 PM
> Subject: Built-In XSLT processor: variable definition mistake not
reported
>
> From: "Frank-Ralph Reiser" <mail@frank-ralph.de>
>
> Howdy...
>
>
> I just came across a strange behaviour of the build-in xslt processor
of stylus studio.
>
> The xslt structure similar to the following:
> ---
> <xsl:for-each select="/report/customer">
>
> <xsl:if test="count(accounts)>0">
>
> <xsl:variable name="address" select="/report/address[@id
=
current()/@addr]"/>
> [...]
> </xsl:if>
>
> <xsl:value-of select="$address/name"/>
> </xsl:for-each>
> ---
>
> As you can see, the variable "address" is defined inside the xsl:if,
but accessed from outside.
>
> Although should not be working, the build-in xslt processor of stylus
studio doesn't bother.
>
>
>
>
> --
> To reply: mailto:stylus-studio-tech.7545@stylusstudio.com
> To start a new topic: mailto:stylus-studio-tech@stylusstudio.com
> To login: http://www.stylusstudio.com/SSDN/
> To (un)subscribe:
mailto:stylus-studio-tech.list-request@stylusstudio.com
>