Get XML Value Issue - First Node has ':' Character

I’m totally lost getting an XML element value from an XDocument. I’ve accessed and deserialized the xml string and needed to pull some values but am totally stuck. Here’s the beginning of the xml file:

<?xml version="1.0" encoding="UTF-8"?>
-<SearchResults:searchresults xmlns:SearchResults="" xmlns:xsi="" xsi:schemaLocation="">
<!-- H:002 T:89ms S:869 R:Thu Nov 02 16:12:27 PDT 2017 B:5.0.49502.34-hotfix_2017-11-02.95c71b6~hotfix-platform-for-2017-11-02.cccc807 -->
<address>100 Main St</address>
<citystatezip>Gainesville FL 32607</citystatezip>
<text>Request successfully processed</text>

I was following the UiPath ‘How to…’ and tried to use


and ran into The ‘:’ character, hexadecimal value 0x3A, cannot be included in a name error. Tried following the ‘Get XML element value (with namespaces)’ article and created

XNamespace SearchResults = “
XElement tempElement = xmlDoc.Descendants(SearchResults + “searchresults”).FirstOrDefault();

but not sure how to proceed and now I’m totally lost. Would someone please point me in the right direction on how can I get to the next step and find the value of the “zpid”? I can write out the entire first node but stuck there. Thanks.

Hi ,

Please find below tutorials on XML type handling