Hi ,
I have one xml file contains more than 60 lines. I need to extract some details from the file and store it in new file.Not the whole file
Please find the xml file below:
<?xml version="1.0" encoding="UTF-8"?>
<DeploymentDescriptors xmlns="
http://www.tibco.com/xmlns/dd">
<
name>
BillingRoutingServices</name>
<
description>
Rebuilt EAR for TRIO7.0.3 for defect fix 77677.</description>
<
version>
12.0.2</version>
<owner>EAI</owner>
<creationDate>7/18/11 11:27 AM</creationDate>
<isApplicationArchive>true</isApplicationArchive>
<DeploymentDescriptorFactory>
<name>{http://www.tibco.com/xmlns/repoinstance}RepoInstance</name>
<deploymentDescriptorFactoryClassName>com.tibco.dd.repo.RepoInstance</deploymentDescriptorFactoryClassName>
<deploymentDescriptorXsdFileName>com/tibco/dd/repo/RepoInstance.xsd</deploymentDescriptorXsdFileName>
</DeploymentDescriptorFactory>
expected result:
Name: BillingRoutingServices
description: Rebuilt EAR for TRIO7.0.3 for defect fix 77677
Version: 12.0.2
Note: I need to append the next xml details in the same file.
Please help me on this ..
Thanks
Chells......