ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dalg...@ix.netcom.com (Mike Castle)
Subject Re: Indent-Task
Date Mon, 20 Oct 2003 17:42:31 GMT
In article <3F905128.608@yahoo.de>, J.Pietschmann <user@ant.apache.org> 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.

Cheers,
mrc
-- 
     Mike Castle      dalgoda@ix.netcom.com      www.netcom.com/~dalgoda/
    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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message