What are you trying to achieve?
Christian Barth wrote:
Hi!
I want to define a global variable with no value.
Then I want to asign a value to the variable in a choose-when-select.
I think of something like this (but this one doesn't work):
<xsl:variable name="element" />
<xsl:for-each select="*">
<xsl:choose>
<xsl:when test="local-name() = 'rettungswege'">
<xsl:variable name="element" select="rettungswege/rw" />
</xsl:when>
<xsl:when test="local-name() = 'trennwaende'">
<xsl:variable name="element"
select="trennwaende/trennwand" />
</xsl:when>
</xsl:choose>
</xsl:for-each>
<xsl:for-each select="$element">
...do something...
</xsl:for-each>
Is this possible?
Thanks,
Barthi
--
Drs. G.P.H. Josten
Consultant
Daidalos BV
Source of Innovation
Hoekeindsehof 1-4
2665 JZ Bleiswijk
Tel: +31 (0) 10 850 1200
Fax: +31 (0) 10 850 1199
www.daidalos.nl
De informatie - verzonden in of met dit emailbericht - is afkomstig van Daidalos BV en is
uitsluitend bestemd voor de geadresseerde. Indien u dit bericht onbedoeld hebt ontvangen, verzoeken
wij u het te verwijderen. Aan dit bericht kunnen geen rechten worden ontleend.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]