[xml] Can xmllint format with in-place file saving?

2010-08-01 Thread mruhrbach
Hello list, I run xmllint to format my XML file: xmllint --format file.xml The output goes to stdout, so I capture it in a file: xmllint --format file.xml formatted.xml Now I replace the old with the new: mv formatted.xml file.xml Question: can this be done in one step? I imagine something

Re: [xml] Can xmllint format with in-place file saving?

2010-08-01 Thread Liam R E Quin
On Sun, 2010-08-01 at 10:37 -0400, mruhrb...@aim.com wrote: Hello list, I run xmllint to format my XML file: xmllint --format file.xml The output goes to stdout, so I capture it in a file: xmllint --format file.xml formatted.xml Now I replace the old with the new: mv formatted.xml

Re: [xml] Can xmllint format with in-place file saving?

2010-08-01 Thread Michael Ludwig
mruhrb...@aim.com schrieb am 01.08.2010 um 10:37 (-0400): Question: can this be done in one step? I imagine something like: xmllint --format --in-place file.xml, as is known form sed. No. But you can write a script to make it appear as one step. -- Michael Ludwig

[xml] HTML parser: missing semicolumn

2010-08-01 Thread Michael Day
Hi, htmlParseCharRef in HTMLparser.c has two missing semicolumn error messages, these should be semicolon instead. Best regards, Michael -- Print XML with Prince! http://www.princexml.com ___ xml mailing list, project page http://xmlsoft.org/