Sebastian Kerekes
Usenet Archive
- Joined
- Sep 1, 2004
- Messages
- 16
- Reaction score
- 0
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