Read xml and redirect traffic
Hi, somebody can help me, I need read the value of a error in xml code, and with this information makes a traffic redirection, there is a sample of the code:
soapenv:Body> error="0"><tx nbreq=1><req name=insert ver=7.0.11 state=undefined><ent name=Subscriber ns=policy><set><expr><attr name=AccountId><op value="="><value val=TestUser1Lab></value></op></attr></expr><expr><attr name=MSISDN><op value="="><value val=0057123456789></value></op></attr></expr><expr><attr name=IMSI><op value="="><value val=508414170000000></value></op></attr></expr><expr><attr name=BillingDay><op value="="><value val=1></value></op></attr></expr><expr><attr name=Entitlement><op value="="><value val="Mail Service Package"></value></op></attr></expr><expr><attr name=Custom1><op value="="><value val=postpaid></value></op></attr></expr></set><res <strong>error="0"</strong> affected="1"></ent></req></tx>
Is there any way to read the information marked in bold and store in a variable? Thanks for your comments