RE: [libxml++] writing formatted (indented) files



> I made a few tests:
> 
> Document::write_to_string() does not format the output
> 
> Document::write_to_file() does format the ouput BUT if we use some 
> Parser::parse_xx function before, it will not (and the ouput 
> is different to 
> the one of write_to_string()).
> 
> So we have an inconsistent behavior anyway.

I have added the examples/dom_read_write/ test in cvs and it does
demonstrate this obvious and serious problem - we are removing significant
white space. Christophe, I believe you have a solution for this, but I'll
try to take care of it if you want me to.

Murray Cumming
murrayc usa net
www.murrayc.com 




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