Re: [xml] Dumping documents with substituted entities



Jørgen Frøjk Kjærsgaard {Metation} wrote:

How do I make it output the document as:

<test>"text"</test>

The short answer is, you don't. The above is not well-formed XML. Instead
you could embed your Javascript in a CDATA section, or, if your output is
HTML, in a SCRIPT section.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]