Exacting element from xml string format
himy requirement is to call the send a request message to the webservice and gets response in the string format and i have to transform this received message from webservice to another message.
how can i extract elements from the response from the webservice message as it is in string format.
i think i have to use xpath,
but please help me with example thanks in advance.
i will show the response message which i got from webservice
<?xml version="1.0" encoding="utf-8"?>
<GetDataResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://data.bicii.l.acc.com">
<errorDescription xsi:nil="true" xmlns="" />
<errorId xsi:nil="true" xmlns="" />
<errorSource xsi:nil="true" xmlns="" />
<errorType xsi:nil="true" xmlns="" />
<redirectionUrl xsi:nil="true" xmlns="" />
<status xmlns="">0</status>
<statusCode xmlns="">OK</statusCode>
<strOrder xmlns=""><Order xmlns="urn:www.nobentus.com/Acc/ois"><Messages><Message MsgID="eBookOrder"><Record RecID="Orders"><Record RecID="Order"><OrderDate>2010-01-26 04:20:24.0</OrderDate><CustomerIdentifier>0248590700</CustomerIdentifier><CustomerOrderNumber>EB40700</CustomerOrderNumber><CustomerOrderDate>2010-02-26 04:20:24.0</CustomerOrderDate><PartDeliveryAccepted>1</PartDeliveryAccepted><MeansOfTrp>301</MeansOfTrp><GoodsMarking>Goods mark: EB40700</GoodsMarking><FreeTextOnTradeDocuments>gem. Unterschriftenregelung OK.</FreeTextOnTradeDocuments><OrderType>Normal</OrderType><HandledBy>CSR</HandledBy><TermsOfPayment>104</TermsOfPayment><TermsOfDelivery>Freight carriage. Insurance to destination (CIP)</TermsOfDelivery><IndustryCode>FOU</IndustryCode><ModeOfPayment>FUL</ModeOfPayment><Application>PC1</Application><Channel>GIND</Channel><PlacedBy>Hewa Rau</PlacedBy><AdditionalSalesPerson1>christian.eickhorst@de.abb.com</AdditionalSalesPerson1><AdditionalSalesPerson1Email>christian.eickhorst@de.abb.com</AdditionalSalesPerson1Email><Record RecID="HeaderDelAdr"><Name1>Herzog Maschinenfabrik GmbH & Co.</Name1><Road1>Gehren 1</Road1><PostCode>49086</PostCode><Town>Osnabrück</Town><Country>DE</Country><ContactPerson>-</ContactPerson><EMail>changeit@in.acc.com</EMail></Record><Record RecID="HeaderInvAdr"><Name1>sanfranisrik GmbH & Co.</Name1><Road1> Gehren 1</Road1><PostCode>49086</PostCode><Town>Osnabrück</Town><Country>italy</Country><Phone>-</Phone><EMail>changeit@in.acc.com</EMail></Record></Record></Record></Message></Messages></Order></strOrder>
</GetDataResponse>
Thanks in advance , please help me out