Thanks Michael and Tom for the solution -
My apologies for multiple postings asking the same question - I was
having problems confirming that my post had arrived.
-----Ursprüngliche Nachricht-----
Von: TSchutzerWeissmann(_at_)uk(_dot_)imshealth(_dot_)com
[mailto:TSchutzerWeissmann(_at_)uk(_dot_)imshealth(_dot_)com]
Gesendet am: Dienstag, 26. November 2002 11:03
An: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Betreff: RE: [xsl] Build a select list of nodes
Hi Simon
You problem is that you're trying to make the output HTML like it was text.
You've got a serialiser to look after that, all you need to do is create the
nodes.
Instead of this,
<xsl:text><OPTION VALUE = "</xsl:text>
<xsl:value-of select="name()" />
<xsl:text>"></xsl:text>
<xsl:value-of select="name()" />
<xsl:value-of select="$newline"/>
<OPTION VALUE="{name()}"><xsl:value-of select="name()"/></OPTION>
You can also use <xsl:element> and <xsl:attribute> to make the option
elements, but the above is quicker to type.
Regards,
Tom SW
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list