[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
Hi,
How about: <xsl:variable name="keywords" select="('word1', 'word2', 'word3')"/> <xsl:template match="item[description = $keywords]"> .. process the item .. </xsl:template> <xsl:template match="item"> .. do nothing .. </xsl:template>
I'm trying to filter an external rss feed using xls so that only those feed items that contain at least one of a list of words are selected. The code below does that, but I'm wondering if there isn't a more succint and easier to maintain way,
|
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
|