How to extract value from XML

“<?xml version=\"1.0\" encoding=\"utf-8\"?><soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/\” xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd="http://www.w3.org/2001/XMLSchema\">soap:Body<AddResponse xmlns="http://tempuri.org/\“><AddResult>25</AddResult></AddResponse></soap:Body></soap:Envelope>”

How to extract 25 value result from this xml

May this help you: How To Extract The Data From A XML file – In UiPath – ExcelCult

@devashish1989
the namespace is defining namespaces. Find some references below introducing / showcasing retrieval handling this:

Tried the Deserialize xml but out_XML.Element(“soap:Envelope”) not working as its throwing below error:
21.2.0-beta.44+Branch.release-v21.2.0.Sha.8ede47e8688d4fa0ba0ff6103ca2fe3ca36a426f

Source: Log Message

Message: The ‘:’ character, hexadecimal value 0x3A, cannot be included in a name.

Exception Type: System.Xml.XmlException

RemoteException wrapping System.Xml.XmlException: The ‘:’ character, hexadecimal value 0x3A, cannot be included in a name.
at System.Xml.XmlConvert.VerifyNCName(String name, ExceptionType exceptionType)
at System.Xml.Linq.XName…ctor(XNamespace ns, String localName)
at System.Xml.Linq.XNamespace.GetName(String localName)
at System.Xml.Linq.XName.Get(String expandedName)
at lambda_method(Closure , ActivityContext )
at Microsoft.VisualBasic.Activities.VisualBasicValue1.Execute(CodeActivityContext context) at System.Activities.CodeActivity1.InternalExecuteInResolutionContext(CodeActivityContext context)
at System.Activities.Runtime.ActivityExecutor.ExecuteInResolutionContext[T](ActivityInstance parentInstance, Activity1 expressionActivity) at System.Activities.InArgument1.TryPopulateValue(LocationEnvironment targetEnvironment, ActivityInstance activityInstance, ActivityExecutor executor)
at System.Activities.RuntimeArgument.TryPopulateValue(LocationEnvironment targetEnvironment, ActivityInstance targetActivityInstance, ActivityExecutor executor, Object argumentValueOverride, Location resultLocation, Boolean skipFastPath)
at System.Activities.ActivityInstance.InternalTryPopulateArgumentValueOrScheduleExpression(RuntimeArgument argument, Int32 nextArgumentIndex, ActivityExecutor executor, IDictionary2 argumentValueOverrides, Location resultLocation, Boolean isDynamicUpdate) at System.Activities.ActivityInstance.ResolveArguments(ActivityExecutor executor, IDictionary2 argumentValueOverrides, Location resultLocation, Int32 startIndex)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)

comes from usage of : within the name (prefix,:,localname)
have a look on the provided links above as it showcases on how to handle this