hi,
i have an .xml file from which i have to grep some data.
can anyone tel me how do i do that.?
the xml file is something like this..
Code:
<?xml version="1.0" encoding="UTF-8" ?>
- <inventoryDataFile>
<fileHeader />
- <LicenseInventoryData>
- <NetworkElement NeName="ABD001">
- <License ElsnId="ABD001" Fingerprint="843474_001037">
CapacityKey Id="CXC4020046">
<Description>FAK1010002; Channel Element Down Link HW</Description>
<StartDate Day="15" Month="08" Year="2011" />
<StopDate Day="31" Month="12" Year="9999" />
<Capacity>256</Capacity>
<HardLimit>256</HardLimit>
</CapacityKey>
<CapacityKey Id="CXC4020009">
<Description>FAK1010001; Channel Element Up Link HW A</Description>
<StartDate Day="15" Month="08" Year="2011" />
<StopDate Day="31" Month="12" Year="9999" />
<Capacity>256</Capacity>
<HardLimit>256</HardLimit>
</CapacityKey>
from this file i have to grep the highlighted text. Can anyone help me out?
Do you need more information?