25/01/2002 3:27:39, "Ferran Urgell" <[EMAIL PROTECTED]> wrote:
>
>  Hola Cocooners!
>
>  I've generated some xml files from a database, but the xml files are
>  containing some special characters like < > ;  etc...and before to use with
>  an xsl, I would to change the xml to a another valid xml....
>

there are 2 solutions:
1: replace < by &lt;, & by &amp;, > by &gt;, ' by &apos;
2: embed your strings in CDATA sections: <![CDATA[  string.... ]]>

This should off course be done when generating the xml, not afterwards (I guess Cocoon 
ESQL taglib does the first?).

greetings,
Geert.



---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to