<DIV>Hai,<BR>I am having two xml files build.xml and deploy.xml. I have to combine these files to form config.xml.&nbsp;I have given the format for the xml files below.<BR><BR>build.xml<BR>-------------<BR>&lt;!DOCTYPE project PUBLIC "-//ANT//DTD project/EN" "build.dtd"&gt;<BR>&lt;project name="${project.name}" default="init" basedir="."&gt;<BR>&lt;target name="init" depends="build.properties" description="Initialize the build properties"&gt;<BR>&lt;property file="build.properties"/&gt;<BR>&lt;/target&gt;<BR>&lt;/project&gt;<BR><BR>deploy.xml<BR>---------------<BR>&lt;?xml version="1.0" ?&gt;<BR>&lt;!DOCTYPE project PUBLIC "-//ANT//DTD project/EN" "build.dtd"&gt;<BR>&lt;project name="${project.name}" default="init" basedir="."&gt;<BR>&lt;target name="init" description="Initialize the deploy properties"&gt;<BR>&lt;property file="deploy.properties"/&gt;<BR>&lt;/target&gt;<BR>&lt;/project&gt;<BR><BR>Two files are having a lot of targets. I have to differentiate the targets of bo
 th
 files. For that I have to add a new attribute "location" to all targets. The problem is how to add a location attribute. Can anyone faced this? If so tell me the procedure for solving the problem. The Output file&nbsp;should be of the form</DIV>
<DIV>&nbsp;</DIV>
<DIV>config.xml<BR>---------------<BR>&lt;?xml version="1.0" ?&gt;<BR>&lt;!DOCTYPE project PUBLIC "-//ANT//DTD project/EN" "build.dtd"&gt;<BR></DIV>
<DIV>&lt;target name="init" description="Initialize the build properties" location = "build.xml"&gt;<BR>&lt;property file="build.properties"/&gt;<BR>&lt;/target&gt;<BR><BR>&lt;target name="init" description="Initialize the deploy properties" location = "deploy.xml"&gt;<BR>&lt;property file="deploy.properties"/&gt;<BR>&lt;/target&gt;<BR></DIV>
<DIV>Thanks in Advance,<BR>&nbsp;&nbsp;&nbsp; SMVEL</DIV><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! SiteBuilder - Free web site building tool. <a href="http://us.rd.yahoo.com/evt=21608/*http://webhosting.yahoo.com/ps/sb/"><b>Try it!</b></a>