|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Attribute test problem solved
> <xsl:choose> > <xsl:when test="//@secur.classif='P'"> > <xsl:text>PRIORITY</xsl:text> > </xsl:when> > <xsl:otherwise> > <xsl:choose> > <xsl:when test="//@secur.classif='F'"> > <xsl:text>FAST</xsl:text> > </xsl:when> As David C pointed out, it's simpler to write multiple <xsl:when> elements. It's also likely to be a lot more efficient to assign the common subexpression "//@secur.classif" to a variable. Mike Kay 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
|

Cart








