You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2002/09/02 15:33:14 UTC

Re: query

On Sun, 18 Aug 2002, Praveen Acharya <pr...@yahoo.com>
wrote:

> <replacevalue><![CDATA[<CustomerSecsAccNo>${account.no}</CustomerSecsAccNo>]]></replacevalue>
> 
> how can i achive wht i am trying to do above..

Use the value attribute of <replace> instead - properties are not
expanded for the nested elements, but get expanded for the attributes.

So what you want is 

<replace value="&lt;CustomerSecsAccNo&gt;${account.no}&lt;/CustomerSecsAccNo&gt;"
  ...

Stefan

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>