Hi all ,
I need your help in searching one pattern in below xml file ,
When i open this xml file in vi editor it open as single line .
in this file i want to search for pattern which is in Red (ReadRDPPackagesResponse xmlns
583) and then i want cut p583 from this pattern , can any body plz help me how to search for this , (Note that when i open this file in vi editor it open as single line).
thank in advance , plz send me the solution ASAP because i am working on production issues and i need it urgent . Thank you again .
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body><p583ReadRDPPackagesResponse xmlns
583="http://www.microsoft.com/tv2/server/sbc/serviceassurance"><p583:ReadRDPPackagesResult><p583:Package Name="FRIDAY" PackageId="863f6bd2-d405-457d-87dc-156598016eac"><p583:ServiceIds/><p583:PackageIds/></p583:Package><p583:Package Name="Yemi PPV" PackageId="afb8f351-3234-4486-8ac6-1ba0addbd9d9"><p583:ServiceIds/><p583:PackageIds/></p583:Package><p583:Package Name="Weekend" PackageId="0dbee51f-c122-4908-8892-bdc99ce0d780"><p583:ServiceIds/><p583:PackageIds/></p583:Package><p583:Package Name="Friday Special" PackageId="ce88cc56-eb41-4b94-8dbe-e228b04aa0e8"><p583:ServiceIds/><p583:PackageIds/></p583:Package><p583:Package Name="Thursday" PackageId="f5919568-a15d-4480-be35-ef2200d13977"><p583:ServiceIds/><p583:PackageIds/></p583:Package></p583:ReadRDPPackagesResult></p583:ReadRDPPackagesResponse></soap:Body></soap:Envelope>