On Fri, Feb 15, 2008 at 04:41:20PM +0000, Samuel Wright wrote:
> On Fri, Feb 15, 2008 at 2:32 PM, Carsten Milling <cmil at hashtable.de> wrote:
> >  I'm using the personal edition of xxe as the main editor for a bunch
> >  of version controlled documents. However, from time to time I need to
> >  manipulate these documents with a libxml2 based tool which applies
> >  quite different formatting rules to the resulting XML. To keep the
> 
> Carsten,
> Not sure about the rest of libxml2, but I'm pretty sure xmllint allows
> you to alter the indenting of the ouptut.

That's right, but the xmllint output significantly differs from what
xxe does. For instance xxe may wrap a line inside a start tag when it
has attributes while xmllint seems to always keep the entire tag on
one line.

What I'm hoping for is to be able to somehow use xxe's formatting
engine programmatically or from the commandline to get exactly the
same behavior as if I would save the file form inside the editor. Any
ideas?

Cheers,
Carsten


Reply via email to