No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Have a heck of a time writing XPATH to parse this XML response. Source data is (removed a bunch to save the innocent: `<?xml version="1.0" encoding="UTF-8"?><env> <ProcessResponse> <message> <payLoad> <BillingXMLMessage> <Envelop>SITEINFORESPONSE</Envelop> <COMPONENT DATATYPE="FLDPARAMINFO" NAME="ACCOUNTINFO"> <FIELD DATATYPE="FLDSTRING" NAME="ServiceType">/service/ip</FIELD> <FIELD DATATYPE="FLDBOOLEAN" NAME="ReactivationFlag">false</FIELD>`' XPATH statement is `/env/ProcessResponse/message/payLoad/BillingXMLMessage/COMPONENT[1]/FIELD[@NAME='ServiceType']` Which only gets me `Element='<FIELD DATATYPE="FLDSTRING" … |
|
Having a hell using XPATH to parse out the values from the XML below. Wondering if anyone can tell me what I'm doing wrong. <?xml version="1.0" encoding="UTF-8"?> <XML> <VARIABLES> <var name="LoginUUID" value="F85373F9-00C4-7982-E043-AB7412ACA458"/> <var name="FExists" value="0"/> <var name="NumFTokens" value="0"/> <var name="NumPTokens" value="9"/> <var name="purchaseOptions_Poductname1" value="500 MB"/> <var name="purchaseOptions_Poductvalue1" value="7"/> <var name="purchaseOptions_Poductpricevalue1" … |