# Xml parser with xpath not giving result

**URL:** <https://discuss.elastic.co/t/xml-parser-with-xpath-not-giving-result/153566>\
**Category:** Logstash\
**Created:** [October 23, 2018, 9:43am UTC](https://discuss.elastic.co/t/xml-parser-with-xpath-not-giving-result/153566 "2018-10-23T09:43:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![balumurari1](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/balumurari1/32/39203_2.png) [@balumurari1](https://discuss.elastic.co/u/balumurari1)\
**Post date:** [October 23, 2018, 9:55am UTC](https://discuss.elastic.co/t/xml-parser-with-xpath-not-giving-result/153566/2 "2018-10-23T09:55:32Z")

</div>

hope this helps you,

> [@Unable to load xml file in logstash](https://discuss.elastic.co/t/unable-to-load-xml-file-in-logstash/151318):
>
> Hello, can you please provide a sample example to upload xml file using logstash. I have tried a lot but unable to upload an xml file in logstash in windows machine. Waiting for the response. Ex: My XML file is as follows, --stations-- --station-- --id--Value1--/id-- --name\>Value2--/name-- --/station-- --/stations-- My conf file is as follows, input { file { path =\> "C:\Users\LENOVO\Downloads\stations.xml" start\_position =\> "beginning" #sincedb\_path =\> "/dev/null" exclude =\> "\*.…

---

_[View the full topic](https://discuss.elastic.co/t/xml-parser-with-xpath-not-giving-result/153566)._
