perladdict has asked for the wisdom of the Perl Monks concerning the following question:
Hi Monks,
I am trying to extract the part of the xml from the server.xml file, the xml is as below
<?xml version="1.0" encoding="UTF-8"?><status>SUCCESS</status> /***********For QA only ****************/ <?xml version="1.0" encoding="UTF-8"?> <request> <visitorID>4d1aebec-543b-41ae-8336-3a30462f5227</visitorID> <reportSuiteID>aolmobilewebdev</reportSuiteID> <pageName>wpt: help_pv</pageName> <pageURL>http://mqa.aol.com/portal/default/help.do?icid=ft_help</pageU +RL> <ipAddress>10.146.175.162</ipAddress> <userAgent>JoeDog/1.00 [en] (X11; I; Siege 2.70)</userAgent> <scXmlVer>1.0</scXmlVer> <timezone>-5</timezone> <channel>us.wptportal</channel> <referrer></referrer> <events>event10</events> <server>qawire-ql26.tweb.aol.com</server> <eVar16>ft_help</eVar16> <prop1>wpt: portal</prop1> <prop2>wpt: Help Page</prop2> <prop3>gmt_5</prop3> <prop10>JoeDog/1.00 [en] (X11; I; Siege 2.70)</prop10> <prop12>http://mqa.aol.com/portal/default/help.do</prop12> <prop13>non-authenticated</prop13> <prop14>no referrer</prop14> <prop24>uaid_na</prop24> <prop49>xml api</prop49> </request>
From the above xml i want to extract or get the xml tag starting from the <request> to </request> monks,help me out for the above task and suggest me how can i start, i mean what modules i need to use for the above activity.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: How to get the part of the xml from the server log
by ikegami (Patriarch) on Aug 06, 2010 at 03:32 UTC | |
Re: How to get the part of the xml from the server log
by murugu (Curate) on Aug 06, 2010 at 03:40 UTC | |
by aquarium (Curate) on Aug 06, 2010 at 05:20 UTC | |
Re: How to get the part of the xml from the server log
by ikegami (Patriarch) on Aug 06, 2010 at 03:33 UTC | |
Re: How to get the part of the xml from the server log
by Anonymous Monk on Aug 06, 2010 at 15:35 UTC |
Back to
Seekers of Perl Wisdom