
June 29th, 2004, 07:32 AM
|
|
Contributing User
|
|
Join Date: Oct 2001
Location: London
Posts: 69
Time spent in forums: 1 h 1 m 54 sec
Reputation Power: 8
|
|
|
Problem HTML code in XML - Error using XSL
I'm basically capturing an XML feed. I'm creating a file which I'm placing the feed in, I'm using ASP version 3.
I'm then using ASP to apply an XSL to the XML document.
My problem occurs when the supplier of the XML feed slips a HTML hyperlink tag into the content he's sending me. Is there anyway that I can get the XSL to apply without stumbling on the HTML tag?
I've tried using the disable-output-escaping, but it dosen't appear to have an effect.
The problem line of code is below.
<xsl:template match="Para">
<p><span class="para"><xsl:value-of select="." disable-output-escaping="yes"/></span></p>
</xsl:template>
Any help is much appreciated.
__________________
Humble Seeker
The longest journey starts with the smallest step, and knowledge is the longest journey of all.
|