9

Extract only required elements from XML.

view full story
linux-howto

http://www.unix.com – Hi , I have an XML like this. Code: <Request> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"> <version>v44</version><messageId>7247308192</messageId><timeToLive>72000000000</timeToLive> </Request>. I want to extract on version and messageId. As in my output should be Code: <version>v44</version> <messageId>7247308192</messageId> Not necessarily will the version and messgaeID be in the same line. Thanks, Chetan (HowTos)