xmltask provides the facility for automatically editing XML files as part of an Ant build. Unlike the standard filter task provided with Ant, it is XML-sensitive, but doesn't require you to define XSLTs.
Uses include:
modifying configuration files for applications during builds
inserting/removing information for J2EE deployment descriptors
dynamically building Ant build.xml files during builds
building and maintaining websites built with XHTML
driving Ant via a meta build.xml to abstract out build processes
There are 2 targets to help manipulate your XML files, one for replacing the text within an element and the other for replacing a value of an attribute ...
To use the xmltask.replace.text target, you need to set the properties described in the Common Build Targets document.
To use the xmltask.attr.value target, you need to set the properties described in the Common Build Targets document.
Last Updated Tuesday, January 24 2006 @ 04:45 AM CST; 1,642 Hits
IRC Hacks
I am a contributor to the IRC Hacks book released by O'Reilly in 2004. I wrote a few of the hacks, some of which were about my own software - 2 about PPF and 1 about MatchEd.