Everyone, Here’s a challenge for you all. I have to parse an XML string that partly looks this. You would say that ‘ExtensionField’ has attribute ‘name’ and that “Sales Branch” is the value. However if you look closely you can see that the actual value is ‘IT’ (for “Sales Branch”). I have never seen this combination of elements, attributes and its values before. <Extension extensionTemplate="PARTNER_HEADER"> <ExtensionField name="Sales Branch">IT</ExtensionField> <ExtensionField name="GLA Attached">N</ExtensionField> <ExtensionField name="Inside Sales Rep">UNG</ExtensionField> </Extension> When I parse the XML I can get to the attribute “name” and value “Sales Branch”, but I can’t get to ‘IT’. Maybe I am just not interpreting the XML correctly and should use a different procedure, but I can’t think of what that could be. Personally I don’t think I can get to the values using the parser, but I would love for someone to prove me wrong. Any ideas are welcome! Best regards, Frank Disclaimer The information contained in this communication from the sender is confidential. It is intended solely for use by the recipient and others authorized to receive it. If you are not the recipient, you are hereby notified that any disclosure, copying, distribution or taking action in relation of the contents of this information is strictly prohibited and may be unlawful. |
-- _______________________________________________ Ftpapi mailing list Ftpapi@xxxxxxxxxxxxxxxxxxxxxx http://scottklement.com/mailman/listinfo/ftpapi