ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Douglas Brown" <>
Subject RE: Indent-Task
Date Mon, 20 Oct 2003 18:06:27 GMT
"tidy" works pretty well for most XML. It sometimes gets confused with
entity declarations but most everything else seems to work ok.

-----Original Message-----
From: Mike Castle [] 
Sent: Monday, October 20, 2003 1:43 PM
Subject: Re: Indent-Task

In article <>, J.Pietschmann <>
>Mike Castle wrote:
>Use the XSLT task with a copy style sheet and indent="yes".
>Not guaranteed to work though, because indenting XML while
>preserving semantics can be very tricky (no universal rules
>where whitespace matters).

Ahh, good point.  Fortunately, the .xml files I'm interested in are pretty
white space resilient.  Only issues are comment formatting.

     Mike Castle
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); --

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message