H
Hans-Michael Rupp
Hello!
I need to a assign a node(-set) conditionally to a varialbe like:
<xsl:variable name="foo">
<xsl:if test="$bar=''">
<!-- how can I access a node here ?-->
</xsl:if>
<xsl:if test="not($bar='')">
<!-- how can I access a node here ?-->
</xsl:if>
</xsl:variable>
but how can I do it? I would need a <xsl:select> tag, which does not exist.
I would be gratefull for any suggestions.
Greetings,
Hans
I need to a assign a node(-set) conditionally to a varialbe like:
<xsl:variable name="foo">
<xsl:if test="$bar=''">
<!-- how can I access a node here ?-->
</xsl:if>
<xsl:if test="not($bar='')">
<!-- how can I access a node here ?-->
</xsl:if>
</xsl:variable>
but how can I do it? I would need a <xsl:select> tag, which does not exist.
I would be gratefull for any suggestions.
Greetings,
Hans