Extract multiple lines of text in xml case :  

           I have an xml case as given below .I want to extract text of message between <com.eds.travel.fares.ping.response></com.eds.travel.fares.ping.response>.The xml strat with com.eds.travel.fares.ping.response and end with com.eds.travel.fares.ping.response.
           
     

% handlertd -- log_message -- preprod.preprods3.1.server3.native1 msgcount=2721 Tue Jun 21 00:01:46 2016
        <?xml version="1.0" encoding="UTF-8"?>^M
        ^M
        <!--This is a Ping Response-->^M
        <com.eds.travel.fares.ping.response xmlns="http://schemas.eds.com/transportation/message/ping/response" targetNamespace="http://schemas.eds.com/transportation/message/ping/response" EchoToken="00c0d1a" TimeStamp="2016-06-21T00:01:46.123" Target="Test" Version="1.07" SequenceNmbr="1466467306998" PrimaryLangID="en" RequestorCompanyCode="1y" RequestorNetworkID="as" SetLocation="zrh">^M
         <Headers Trailers="n">^M
          <Result xmlns="http://schemas.eds.com/transportation/message/fares/common" status="success" />^M
         </Headers>^M
         <DataArea>^M
          <Pong Message="pong" ServerHostName="usclsefam922.clt.travel.eds.com" ServerPortNumber="8023" ServerMessageCount="0" RegionName="preprod" SystemName="preprods3.1" SystemDate="20160621" SystemTime="146" CodeVersion="$Name: build-2016-06-17-1338 $" />^M
         </DataArea>^M
         <Trailers />^M
        </com.eds.travel.fares.ping.response>
        % handlertd -- log_message -- preprod.preprods3.1.server3.native1 msgcount=2721 Tue Jun 21 00:01:46 2016
            
            I tried with below command but no luck
            cat file.txt | egrep "<com.eds.travel.fares.ping.response>.*</com.eds.travel.fares.ping.response>" 
    please advise

