# Does XPATH of xml-filter support XPATH 2.0?

**URL:** <https://discuss.elastic.co/t/does-xpath-of-xml-filter-support-xpath-2-0/99518>\
**Category:** Logstash\
**Created:** [September 6, 2017, 5:44am UTC](https://discuss.elastic.co/t/does-xpath-of-xml-filter-support-xpath-2-0/99518 "2017-09-06T05:44:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkhapre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rkhapre/32/48333_2.png) [@rkhapre](https://discuss.elastic.co/u/rkhapre)\
**Post date:** [September 6, 2017, 5:44am UTC](https://discuss.elastic.co/t/does-xpath-of-xml-filter-support-xpath-2-0/99518/1 "2017-09-06T05:44:19Z")

</div>

Does XPATH of xml-filter support XPATH 2.0?

I am using, a XPATH with for condition and it is not working

```
 xpath => [
"for $r in //row return string-join($r//testing//value, ',')","Testing"
]

```

this XPATH doesnt work, but it is working well in other programming language

---

<div class="post-metadata">

**Author:** ![rkhapre](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rkhapre/32/48333_2.png) [@rkhapre](https://discuss.elastic.co/u/rkhapre)\
**Post date:** [September 7, 2017, 6:12am UTC](https://discuss.elastic.co/t/does-xpath-of-xml-filter-support-xpath-2-0/99518/2 "2017-09-07T06:12:32Z")

</div>

Hi

Does anyone know about this, please let me know.  
Thanks

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [October 5, 2017, 6:13am UTC](https://discuss.elastic.co/t/does-xpath-of-xml-filter-support-xpath-2-0/99518/3 "2017-10-05T06:13:14Z")

</div>

Closed on October 5, 2017, 6:13am UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
