|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Filtering RSS feed with xsl based on presence of
> ...more simply?
>
> <xsl:template match="item[description = ('word1', 'word2', 'word3')]">
> .. process the item ..
> </xsl:template>
>
> Is there a performance advantage to the variable or is the
> match pattern sequence optimized anyway (e.g. Saxon)?
Shouldn't make any difference performance-wise (both equally bad...). But he
said he wanted the word list in a separate place for maintainability.
Michael Kay
http://www.saxonica.com/
|
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
|






