il 16, 2009 7:57 AM
To: Xmltask-users@lists.sourceforge.net
Subject: [Xmltask-users] Insert task
Hi,
Thanks Brian for your help to my earlier mail in ant user list.
I want some advanced stuff on replacing dynamic text with literals while
inserting to target tag in xml.
l The Breezer'; Xmltask-users@lists.sourceforge.net
Subject: RE: [Xmltask-users] Insert task
You can do it like this:
You can't access properties directly, so you pass them in as parameters
to the task. Then in the task you access the parameter like
${paramName}.
In your database.prop
See the property task http://ant.apache.org/manual/CoreTasks/property.html
and then reference within your XML using standard Ant format e.g.
${propertyName}. Note that you may have to use the task in
one target, and the within another target, due to how/when Ant
expands the properties.
On 16
Hi,
Thanks Brian for your help to my earlier mail in ant user list.
I want some advanced stuff on replacing dynamic text with literals while
inserting to target tag in xml.
E.g.