How to extract XML data from response HTTP activity

Hello everyone,

I’d like to know what is the optimal way to extract the value from the tag “decimal” from the following XML response:

<s:Envelope xmlns:s=“”>
<TimeElapsedMessage i:nil=“true”


My workflow is as follow:

  1. HTTP Request → Output response to variable

  2. Deserialize XML → Output to XDocument

Apologies if the solution is simple, I’ve been trying to access the different elements in the XML to get to the decimal value, but so far with no sucess.

Thank you.

as this XML is related to SOAP namespaces are defined for the elements and has to be handled.

Find some starter help here:

Hello Tim,
In this video, I use HTTP Request and extract XML from response:

23:50 Deserialize XML
25:15 How to extract Data from XML Nodes
27:40 How to extract Data from XML Attributes

Cristian Negulescu

Thank you for the suggestions everyone, but because I only want to extract a single value and the response body is static, I ended up using a simple REGEX expression to obtain the value. It’s not optimal, but it works for now.

Once again, I appreciate the help!

1 Like