Easy to Learn Java: Programming Articles, Examples and Tips

Start with Java in a few days with Java Lessons or Lectures


Code Examples

Java Tools

More Java Tools!

Java Forum

All Java Tips


Submit News
Search the site here...

xmltask › Click to download › Updated Info

Main Page | Details | Download Now | History | Statistics | Promote | Tell a Friend

Category Build tools
Submitted by
Author's Name oops Consultancy
Homepage www.oopsconsultancy.co...e/xmltask/
Version 1.11.4
Compatibility JDK 1.3-1.4
Sat May 13, 2006 12:05 am


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.

xmltask allows you to specify sections of an XML file to append to, replace, remove or modify. The sections of the XML document to be modified are specified by XPath references, and the XML to insert can be specified in-line in the Ant build.xml, or loaded from files.
  • The main section takes arguments to define an XML source and a destination file or directory. Note that the XML source is optional if you're creating a new document via instructions. dest and todir can be omitted if you're reading a document and storing subsections in buffers for use by another task (see below).

  • s are used to define sets of files for xmltask to operate on. See the standard Ant documentation for information on using filesets.

  • Nested elements allow replacements to take place, and are applied in the order that they're specified in. Each subsection may match zero or more nodes. Standard XPath paths are used here. If you're not familiar with these, the examples below will provide some hints. See here for more info.

Rating Not Rated
Votes 0

Popularity 5/5: Very Popular
Downloads 9
Page Views 2126

Download Now!

Home Code Examples Java Forum All Java Tips Books Submit News, Code... Search... Offshore Software Tech Doodling

RSS feed Java FAQ RSS feed Java FAQ News     

    RSS feed Java Forums RSS feed Java Forums

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest 1999-2006 by Java FAQs Daily Tips.

Interactive software released under GNU GPL, Code Credits, Privacy Policy