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



> From: Christophe de Vienne [mailto:cdevienne alphacent com] 
> 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.

OK. Inconsistency is bad, and thanks for finding it. I think it's clear what
it should do [1], so it would be great if you know how to fix it.

See my other reply about the other question of adding the separate option of
formatted output.

[1] Whatever is the libxml default.

Murray Cumming
murrayc usa net
www.murrayc.com 




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