<DIV>Hai,<BR>I am having two xml files build.xml and deploy.xml. I have to combine these files to form config.xml. I have given the format for the xml files below.<BR><BR>build.xml<BR>-------------<BR><!DOCTYPE project PUBLIC "-//ANT//DTD project/EN" "build.dtd"><BR><project name="${project.name}" default="init" basedir="."><BR><target name="init" depends="build.properties" description="Initialize the build properties"><BR><property file="build.properties"/><BR></target><BR></project><BR><BR>deploy.xml<BR>---------------<BR><?xml version="1.0" ?><BR><!DOCTYPE project PUBLIC "-//ANT//DTD project/EN" "build.dtd"><BR><project name="${project.name}" default="init" basedir="."><BR><target name="init" description="Initialize the deploy properties"><BR><property file="deploy.properties"/><BR></target><BR></project><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 should be of the form</DIV>
<DIV> </DIV>
<DIV>config.xml<BR>---------------<BR><?xml version="1.0" ?><BR><!DOCTYPE project PUBLIC "-//ANT//DTD project/EN" "build.dtd"><BR></DIV>
<DIV><target name="init" description="Initialize the build properties" location = "build.xml"><BR><property file="build.properties"/><BR></target><BR><BR><target name="init" description="Initialize the deploy properties" location = "deploy.xml"><BR><property file="deploy.properties"/><BR></target><BR></DIV>
<DIV>Thanks in Advance,<BR> 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>