>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">
    <sequential>
        <echo>@{target}</echo>
    </sequential>
</ac:for>


>have you looked at xslt task?
>http://ant.apache.org/manual/CoreTasks/style.html

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


Jan

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to