[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|