ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephane Bailliez <>
Subject RE: [PROPOSAL] XPath task
Date Fri, 27 Apr 2001 13:16:58 GMT
Agreed with all you said, as mentioned in the mail I'm not too confortable
For now this is OK for Ant GUMP. Not for Ant.

Will take a look at how to modify the replace and property tasks to include

 St├ęphane Bailliez 
 Software Engineer, Paris - France 
 iMediation - 
 Disclaimer: All the opinions expressed above are mine and not those from my

> -----Original Message-----
> From: Stefan Bodewig []
> Sent: Friday, April 27, 2001 2:12 PM
> To:
> Subject: Re: [PROPOSAL] XPath task
> Stephane Bailliez <> wrote:
> > Following discussion w/ Scott and Jeff in alexandria-dev, I quickly
> > wrote an XPath task.
> I'm not comfortable with the name, otherwise I would have committed it
> right now.  What this task seems to do is replacing - xpath is just
> used to find the stuff you want to replace.
> > I'm not sure this is 'exactly' how it should be done...  this looks
> > like more a feature of the replace task, but I also wanted the
> > multiple replace feature without parsing n times the xml document.
> I've not really read through the code, but would it really be that
> difficult to integrate it with <replace>?  The replace task already
> supports multiple replacements via the nested replacefilter element.
> If you say, this would mean a major rewrite of replace and causes too
> much pain ATM, fine, let's make it a task of its own.  But <xpath>
> looks too generic for the type of action it performs (it could as well
> select parts of an XML document and include it/set a property from it,
> whatever).
> Stefan

View raw message