Merging multiple xmls into a single xml?

limage

New Member
i'm fairly new to xml so my apology if my question is stupid.is there a way to merge multiple xmls in to one? maybe using bash? how? example:\[code\]<target name="svn_msa_filesystem"> <telnet userid="${checkout.uid}" password="${checkout.password}" server="${checkout.server}" timeout="7200"> <read>${checkout.response}</read> <write>cd ${checkout.root}</write> <read>${checkout.response}</read> <write>rm -rf ${checkout.applianceDir}</write> <read>${checkout.response}</read> <write>mkdir ${checkout.applianceDir}</write> <read>${checkout.response}</read> <write>rm -rf ${return.root}/${checkout.applianceDir}/${branch.tag}</write> <read>${checkout.response}</read> <write>mkdir ${return.root}/${checkout.applianceDir}/${branch.tag}</write> <read>${checkout.response}</read> <write>chmod 777 ${return.root}/${checkout.applianceDir}/${branch.tag}</write> <read>${checkout.response}</read> <write>mkdir ${return.root}/${checkout.applianceDir}/${branch.tag}/ma</write> <read>${checkout.response}</read> <write>chmod 777 ${return.root}/${checkout.applianceDir}/${branch.tag}/ma</write> <read>${checkout.response}</read> <write>mkdir ${return.root}/${checkout.applianceDir}/${branch.tag}/xl</write> <read>${checkout.response}</read> <write>chmod 777 ${return.root}/${checkout.applianceDir}/${branch.tag}/xl</write> <read>${checkout.response}</read> <write>mkdir ${return.root}/${checkout.applianceDir}/${branch.tag}/med</write> <read>${checkout.response}</read> <write>chmod 777 ${return.root}/${checkout.applianceDir}/${branch.tag}/med</write> <read>${checkout.response}</read> <write>mkdir ${return.root}/${checkout.applianceDir}/${branch.tag}/private</write> <read>${checkout.response}</read> <write>chmod 777 ${return.root}/${checkout.applianceDir}/${branch.tag}/private</write> <read>${checkout.response}</read> <write>svn --username ${svn.username} --password ${svn.password} list ${svn.server}/${svn.module}/${branch.tag}/${checkout.applianceDir}</write> <read>${checkout.response}</read> <write>svn --username ${svn.username} --password ${svn.password} checkout ${svn.server}/${svn.module}/${branch.tag}/${checkout.applianceDir} ${checkout.applianceDir}</write> <read>${checkout.response}</read> </telnet> </target>\[/code\]can i make it shorter rather than all these read and write?
 
Back
Top