[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Problem with < and > in front and after CDAT
jo lemen wrote:
I'm having trouble parsing an RSS feed (version 2.0), over which I have no control, server-side using using classic ASP and XSL (version 1) Mu guess is that the problem lies in the following line of the RSS feed: <description><![CDATA[ text ]]></description> The result is that none of the content in between the description tag shows up on screen. Below are the relevant pieces of code. Well assuming your stylesheet is only processing XML documents where the description element looks like below <description><![CDATA[description text]]></description> then you could use <xsl:value-of select="substring-before(substring-after(description, '[CDATA['), ']]')"/> -- Martin Honnen http://JavaScript.FAQTs.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
|