S
Sebastian Kerekes
Hi,
executing this code ..
<select name="language" class="v1">
<xsl:for-each select="/document/select[@ref = 'language']/item">
<option value="{value/text()}">
<xsl:value-of select="text()"/>
</option>
</xsl:for-each>
</select>
... results in this:
<select class="v1" name="language">
<option value="de"></option>
<option value="en"></option>
</select>
Obviously <xsl:value-of select="text()"/> is wrong. I want to access the
text of of the item-nodes. How can I solve that?
Thx in advance,
Sebastian
executing this code ..
<select name="language" class="v1">
<xsl:for-each select="/document/select[@ref = 'language']/item">
<option value="{value/text()}">
<xsl:value-of select="text()"/>
</option>
</xsl:for-each>
</select>
... results in this:
<select class="v1" name="language">
<option value="de"></option>
<option value="en"></option>
</select>
Obviously <xsl:value-of select="text()"/> is wrong. I want to access the
text of of the item-nodes. How can I solve that?
Thx in advance,
Sebastian