>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
The buildfile contains these targets:
@{target}
>have you looked at x
No - because you can extend Ant by custom tasks.
Jan
>-Ursprüngliche Nachricht-
>Von: Tejash Shah [mailto:tejash.s...@sparta-systems.com]
>Gesendet: Freitag, 9. Januar 2009 17:56
>An: user@ant.apache.org
>Betreff: XML Schema for build.xml
>
>Is there an XML Schema for the build.xml?
>
An xml is also "simple" text file. So you could try or
s.
You know the xmltask (see external page)?
Jan
>-Ursprüngliche Nachricht-
>Von: Kees van Dieren [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 29. Juni 2005 11:48
>An: 'Ant Users List'
>Betreff: RE: XML question
>
>You can try
Hello Jan.
[EMAIL PROTECTED] wrote:
Maybe that is a good start for your work...
Jan
Thanks very much for your help, this looks great to me! :)
Right now, I am still not sure if I will use Ant, but this
seems to be a good start!
bye
Henning
build.xml
---8-<---8-<---8-<---8-<---8-<
Maybe that is a good start for your work...
Jan
build.xml
---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<
There is a possibility to iterate over a DOM using XPath.
But only as proposal. And it´s old - so you have to investigate
a little bit work there :)
http://cvs.apache.org/viewcvs.cgi/ant/proposal/embed/
Or transform the xml to a properties file and use Ant-Contrib for
iterating.
Jan
> -Ur
Hi Michael,
there is an ant task called which generates a DTD based on
the ant distribution and the dependencies you have installed. If I
understand well, it will document all the tasks which can be instantiated on
your site (the optional tasks for which you have installed the dependencies
in the