You need to sign in to do that
Don't have an account?
XmlStreamReader to parse a Xml string
Hi, My Xml string which is returned from a webservice has the following few and the xml looks like this. I have been using XmlStream reader class to parse and i am unsuccessful . I need to get theese values updated to a custom object fields. Any help would be greatly appreciated.
Xmlstring = '<APFilesData>
<APFiles>
<Id>a0B40000001xxxxxxx</Id>
<APID>0034000000Uxxxxxx</APID>
<Filepath>//Bait/Applications/AP Applications/AP0902905.Botia_Diaz/Photos/Photo1.jpg</Filepath></APFiles>
<APFiles>
<Id>a0B400000xxxxxxxx</Id>
<APID>0034000000xxxx</APID>
<Filepath>//Bait/Applications/AP Applications/AP0902905.Botia_Diaz/Photos/Photo2.jpg</Filepath></APFiles>
<APFiles>
<Id>a0B40000001xxxxx</Id>
<APID>0034000000Ulxxx</APID>
<Filepath>//Bait/Applications/AP Applications/AP0902905.Botia_Diaz/Photos/Photo3.jpg</Filepath></APFiles>
<APFiles>
<Id>a0B40000xxxxxx</Id>
<APID>0034000000Uxxx</APID>
<Filepath>//Bait/Applications/AP Applications/AP0902905.Botia_Diaz/Photos/Photo4.jpg</Filepath> </APFiles>
</APFilesData>';
Thank you,