cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kearney, Bryan" <bkear...@solant.com>
Subject XML Containing HTML
Date Mon, 19 Jun 2000 23:25:03 GMT
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

Mime
View raw message