You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Gottfried Szing <go...@yasd.dhs.org> on 2001/04/10 17:11:44 UTC
cdata output
hi
i want to parse a xml-doc which contains cdata like that
<value>
<![CDATA[ whatever <ul><li>LIST</li><li>LIST</li></ul> ]]>
</value>
the value tag can contain HTML code (ok, not nice but its a
requirement!). so i quoted the data with PCDATA which escapes the
HTML code.
now my question: how can i print the value with cocoon?
xsl:output isnt supported and xsl:value-of escapes the cdata. the
output looks like:
----- output -----
whatever
<ul><li>LIST</li><li>LIST</li></ul>
----- output -----
thats not that what i expected. how can i prevent cocoon from
escaping the HTML code?
any ideas or suggestions?
TIA
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>