ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan.Mate...@rzf.fin-nrw.de
Subject RE: Property resolution in a task
Date Mon, 17 Nov 2003 11:37:47 GMT
Have a look at org.apache.tools.ant.util.DOMElementWriter.
Sounds that it could help you.


Jan

> -----Original Message-----
> From: Upayavira [mailto:uv@upaya.co.uk]
> Sent: Monday, November 17, 2003 12:29 PM
> To: Ant Developers List
> Subject: Re: Property resolution in a task
> 
> 
> Jan.Materne@rzf.fin-nrw.de wrote:
> 
> >>Is there an Ant way to 'spider' a DOM node, replacing 
> >>properties as it goes?
> >>    
> >>
> >
> >I donĀ“t know such a thing. But you can do:
> >- write the DOM to a String
> >- use Project.replace() on that String
> >- parse the String
> >- replace the DOM with new one
> >
> >
> >Jan
> >  
> >
> Yup, that should work!
> 
> Thanks again.
> 
> Regards, Upayavira
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org
> 

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message