please share the original XML as Textfile, Thanks
In general we would handle:
- Do not modify the XML and deserialize it
- handle namespaces as described in the Link below
- do the extraction as needed
Handling doSelectReturn Content
- read the value from the doSelectReturn Element into a string Variable - strContent
- decode the Entities - strContentDecoded
- Deserialize strContentDecoded
- do the Extraction of element values as needed
When decoding the entities before the first deserialization then the content of doSelectReturn is seen as a second XML and causes this issue / Exception