hi, I currently have a choose statement in my style sheet to the effect of: <xsl:choose> <xsl:when test="@number='one'"> ... </xsl:when> <xsl:when test="@number='two'"> ... </xsl:when> <xsl:otherwise> ... </xsl:otherwise> </xsl:choose> the result of the two when statements are identical, it is only the otherwise that has different behaviour. I am wondering if it would have any noticible effect on performance to combine the two when statements into one? and if it would how would i do this? is like this: <xsl:choose> <xsl:when test="@number=('one' or 'two')"> ... </xsl:when> <xsl:otherwise> ... </xsl:otherwise> </xsl:choose> thanks in advance Jo 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