Basically i want to update a value in a xml tag . this is my xml \[code\]<?xml version="1.0" encoding="utf-8" standalone="no"?><appengine-web-app xmlns="http://appengine.google.com/ns/1.0"> <application> ten</application> <version>1</version></appengine-web-app>\[/code\]i want to change the application tag value from ten to someother value ,say three. my code is this \[code\]<target name="renameconfig" description="Renaming config files"><taskdef name="xmltask" classname="com.oopsconsultancy.xmltask.ant.XmlTask"/><xmltask source="war/WEB-INF/appengine-web.xml" dest="war/WEB-INF/appengine-web.xml"> <replace path="/:appengine-web-app/:application/text()" withText="three"> </replace></xmltask> </target>\[/code\]this populate empty value in application tag .ie . It would be great if any one correct this .Thanks alot.