You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Kearney, Bryan" <bk...@solant.com> on 2000/06/20 01:25:03 UTC

XML Containing HTML

I must be dense, but I have looked through the Cocoon, Xalan, and XSL docs
and can not figure out how to do this.

I have XML containing the following:

<TEXT> Here is a <a href="http://www.link.com">link</a></TEXT>

I would like the text in the HTML to be 

Here is a _link_ 

Where the link is an error.

I have tried every combination of the following data:
<TEXT> Here is a <a href="http://www.link.com">link</a></TEXT>
<TEXT> Here is a &lt; a href="http://www.link.com"&gt; link&lt;/a&gt;
</TEXT>
<TEXT><![CDATA[Here is a <a href="http://www.link.com">link</a>]]></TEXT>

and xsl which does
<xsl:value-of select="TEXT" disable-output-escaping="yes|no"/>

am I missing anything? How do I make this work?

-- bk