Extract XML Value Error:'The following elements are not closed'

Good day experts

I have a situation here, I need to extract an XML value but without any good results I tried using deserialize xml activity to get the value but I got the error:

,
Here is the textfile I am using
SearchCase_Results.txt (516 Bytes)
In the file I want to use the value- ‘total-rows’=“0”…

Please advise on how I can solve this

snippet XML is invalid XML

when closing the element results (as also indicated in the error message)
grafik

we can do (deserialize XML output: xDoc):

Hi ppr, I still get the same error

Not sure if maybe I am missing something

whenever an invalid / incomplete XML is processed you can expect issues
We had show cased:

  • what was manually done for the XML repair
  • how to do the retrieval

There are online XML Validation tools and you can use this, when you are within XML repair phase from your RnDs

Can you please send me screenshots of
example of a flow you used

was done with immediate panel
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum

we just corrected manually your xml then used the activities

  • read Text File
  • Deserialize XML - output: xDoc

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.