# Looping XML Elements

**URL:** <https://forum.uipath.com/t/looping-xml-elements/771648>\
**Category:** Activities\
**Tags:** question, webapi, activities\
**Created:** [October 5, 2024, 5:17pm UTC](https://forum.uipath.com/t/looping-xml-elements/771648 "2024-10-05T17:17:32Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Anil\_G](https://sea2.discourse-cdn.com/uipath/user_avatar/forum.uipath.com/anil_g/32/524291_2.png) [@Anil\_G](https://forum.uipath.com/u/Anil_G)\
**Post date:** [October 6, 2024, 2:14am UTC](https://forum.uipath.com/t/looping-xml-elements/771648/3 "2024-10-06T02:14:27Z")

</div>

@devasaiprasad_K

I hope this explanation would help

> [@XML Extraction - Handling Namespaces (Tableau, Soap, OASIS types)](https://forum.uipath.com/t/xml-extraction-handling-namespaces-tableau-soap-oasis-types/401623/3):
>
> Going ahead Serializing the XML - output: xDoc | DataType: XDocument: [grafik] Checking if we have to handle XML namespaces We do have: [grafik] Checking for some children: [grafik] Defining Namespace Variable bulb In some cases, we can also do: Assign Activity - xnsDefault = xDoc.Root.Name.Namespace Checkin the retrieval [grafik] xDoc.Descendants(xnsDefault + "productVersion") GetDescendants { [\<productVersion build="456" xmlns="http://tableau.com/api"\>123\</…

Cheers

---

_[View the full topic](https://forum.uipath.com/t/looping-xml-elements/771648)._
