Subject: Re: [xsl] Filtering RSS feed with xsl based on presence of certain words in description|
From: ac <ac@xxxxxxxxxxxxx>
Date: Wed, 28 Jan 2009 18:58:01 -0500
<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/
|<- Previous||Index||Next ->|
|RE: [xsl] Filtering RSS feed with x, Michael Kay||Thread||RE: [xsl] Filtering RSS feed with x, Michael Kay|
|Re: [xsl] Cocoon (daisy) to PDF out, Jim_Albright||Date||RE: [xsl] Filtering RSS feed with x, Michael Kay|