ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: XML
Date Mon, 09 Mar 2009 13:33:48 GMT
>Is it possible to iterate over a XML file? How can this be done?

It is a very long time ago that I have seen a PropertyHelper
implementation for XPath.
With that and AntContrib you could do something like

<echo>The buildfile contains these targets:</echo>
<ac:for param="target" list="${xpath:build.xml/target">

>have you looked at xslt task?

With <xslt> you could also create a list for <ac:for> ...


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message