Hi All,
I have an XML and I need to fetch the value of ID under tag <d:ID>.
Please help me here.
Thanks in advance.
Hi All,
I have an XML and I need to fetch the value of ID under tag <d:ID>.
Please help me here.
Thanks in advance.
Hi @Akansha
You can try with Regex Expression
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=\Wd:ID\W)\d.*(?=\W\Wd:ID\W)").Tostring
Regards
Gokul
the XML is defining namespaces. Have a look on the referenced post which is introducing how to handle value retrievals:
@Akansha
Deserialize activity to get the element from XML response.
Thank You Yoichi. Able to fetch the values now
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.