Maybe just reading into DOM and writing would help...
Jan >-----Ursprüngliche Nachricht----- >Von: Rebhan, Gilbert [mailto:[EMAIL PROTECTED] >Gesendet: Montag, 9. Juli 2007 13:48 >An: Ant Users List >Betreff: RE: Formatter for ant scripts ? > > >Hi, > >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Monday, July 09, 2007 1:37 PM >To: user@ant.apache.org >Subject: AW: Formatter for ant scripts ? > >/* >The "formatter" should be something he could run from Ant via a special >task or <exec> which takes one or more files and applies style pattern >so the result would be a "beauty" code. >*/ > >that's exactly what i'm looking for > >until now i found only = > >http://www.paehl.com/open_source/?download=tidy.zip >and >http://www.digital-mines.com/htb/downloads/htb20.zip > >i'll try them with exec. > >/* >I read a note somewhere that you could start the Eclipse code formatter >from command line. If that works for Java, it could work for XML, too >... >*/ > >yup, i thought of that too, but didn't come up with useful results >when searching the web. > >Beside that, there maybe a solution with xslt, but i'm no specialist >for xslt !? > > >Regards, Gilbert > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]