You can specify actions directly thus:

<call path="a/b/c">
  <actions>
    <echo>Found a node under a/b/c</echo>
  </actions>
</call>

That is Ant 1.6 (and above) specific. I confess I'm not Maven-savvy enough
to know whether that will work with Maven, however.

Brian


On Mon, November 5, 2007 16:56, Karr, David wrote:
> I'm using Maven 1, and I'm trying to script some xmltask processing in a
> maven.xml script.  Is there any way to iterate through a set of xpath
> results without using the "call" tag?  This seems to require an Ant
> target, but it doesn't work if I just define the target in the maven.xml
> script, as it seems to want to find it in a build.xml file.
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
> _______________________________________________
> Xmltask-users mailing list
> Xmltask-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/xmltask-users
>


-- 
Brian Agnew                  http://www.oopsconsultancy.com
OOPS Consultancy Ltd
Tel: +44 (0)7720 397526
Fax: +44 (0)20 8682 0012


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to