|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: choose/when question
Jo Bourne <venus@xxxxxxxxx> wrote:
> I currently have a choose statement in my style sheet to the effect of:
[snip]
> I am wondering if it would have any noticible effect on performance to
> combine the two when statements into one?
This is processor dependent. I don't think there is any measurable
difference, however, actually trying it is better than wild guesses.
> and if it would how would i
> do this? is like this:
...
> <xsl:when test="@number=('one' or 'two')">
The processor will happily accept this, but it's not want you wanted
to do. Try:
<xsl:when test="@number='one' or @number='two'">
HTH
J.Pietschmann
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








