Geert Pante wrote: > 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 <, & by &, > by >, ' by ' > 2: embed your strings in CDATA sections: <![CDATA[ string.... ]]> >
How do I do it the other direction? Most browser don't like < in javascript and a CDATA section is even worse. Regards Martin -- Martin Holz <[EMAIL PROTECTED]> phone: 0049-30-39977 218 FIZ CHEMIE BERLIN --------------------------------------------------------------------- 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]>