Take care that there was a kind of bug in the serializer. There was no indentation nor cariage return around comments. Thus, if your file has many comments, it could even be serialized on a single line.
This problem has been fixed recently (last week I think) and you have to download the latest sources from CVS to benefit from this fix.

Sebastien
 

Lei Chen wrote:

 Hi,I was running the DOMGenerate example which generates a DOM and output it to a String using Serializer. Is it possible to make the String more humanly readable i.e. (newline separated and properly indented) ? Since this will be very useful for debugging.-Lei

Reply via email to