function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

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>




<Filepath>//Bait/Applications/AP Applications/AP0902905.Botia_Diaz/Photos/Photo1.jpg</Filepath></APFiles>




<Filepath>//Bait/Applications/AP Applications/AP0902905.Botia_Diaz/Photos/Photo2.jpg</Filepath></APFiles>




<Filepath>//Bait/Applications/AP Applications/AP0902905.Botia_Diaz/Photos/Photo3.jpg</Filepath></APFiles>




<Filepath>//Bait/Applications/AP Applications/AP0902905.Botia_Diaz/Photos/Photo4.jpg</Filepath>    </APFiles>



Thank you,