ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Mike Castle)
Subject Re: Indent-Task
Date Mon, 20 Oct 2003 17:42:31 GMT
In article <>, J.Pietschmann <> wrote:
>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"); -- gcc

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

View raw message