# \#xpath

**URL:** https://forum.uipath.com/tag/xpath/2399.md

[Latest](https://forum.uipath.com/latest.md) · [Categories](https://forum.uipath.com/categories.md) · [Tags](https://forum.uipath.com/tags.md)

---

## [Tip: How to use XPath Query Language for HTML Site Automation](https://forum.uipath.com/t/tip-how-to-use-xpath-query-language-for-html-site-automation/290422)

<div class="topic-metadata">

**Author:** [@StefanSchnell](https://forum.uipath.com/u/StefanSchnell)\
**Replies:** 4\
**Last updated:** [April 25, 2023, 6:19am UTC](https://forum.uipath.com/t/tip-how-to-use-xpath-query-language-for-html-site-automation/290422 "2023-04-25T06:19:53Z")

</div>

XPath is a very powerful query language to finding nodes in HTML documents. You can find more information about XPath at Wikipedia or a great XPath tutorial at W3Schools. To use the possibilities of XPath for HTML Site A…

---

## [Nth index of Dynamic Xpath](https://forum.uipath.com/t/nth-index-of-dynamic-xpath/477713)

<div class="topic-metadata">

**Author:** [@agathiyanv](https://forum.uipath.com/u/agathiyanv)\
**Replies:** 3\
**Last updated:** [October 3, 2022, 11:09am UTC](https://forum.uipath.com/t/nth-index-of-dynamic-xpath/477713 "2022-10-03T11:09:35Z")

</div>

Currently I am facing problem to get the next instance of the tag. “string(//\*\[local-name()=‘Id’\]/text()\[1\])”. This dynamic Xpath prints the first instance of Id value. But I need to get 2nd instance and 8th instances …

---

## [XPath providing Object and not a String](https://forum.uipath.com/t/xpath-providing-object-and-not-a-string/455959)

<div class="topic-metadata">

**Author:** [@kgbheem](https://forum.uipath.com/u/kgbheem)\
**Replies:** 2\
**Last updated:** [January 11, 2019, 10:45am UTC](https://forum.uipath.com/t/xpath-providing-object-and-not-a-string/455959 "2019-01-11T10:45:21Z")

</div>

Friends, im trying to fetch the url from this XML i tried like this but im not getting correct output pls help me out

---

## [Using XPATH to get a a specific node](https://forum.uipath.com/t/using-xpath-to-get-a-a-specific-node/362609)

<div class="topic-metadata">

**Author:** [@Amit\_Bendet](https://forum.uipath.com/u/Amit_Bendet)\
**Replies:** 2\
**Last updated:** [November 19, 2021, 7:30am UTC](https://forum.uipath.com/t/using-xpath-to-get-a-a-specific-node/362609 "2021-11-19T07:30:14Z")

</div>

Hi, I got an xml file that I need to work on (adding it in the end of the post). I need the retrieve the node “DocIDAutoNumerator” only when I find the node “DocumentTypeValue” = 1319. Is there a way to look it in jus…
