RE: Problem with xsl:choose
> what you want is either: > > <xsl:template match="/"> > ... > </xsl:template> > > or > > <xsl:when test=".='On'"> This still would always match the xsl:otherwise because of the spaces around the 'On'. Use <xsl:when test="normalize-space(.)='On'"> if the spaces are insignificant, or <xsl:when test=".=' On '"> if not. Jarno 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