# Parse XML by Document not Element

**URL:** <https://discuss.elastic.co/t/parse-xml-by-document-not-element/288028>\
**Category:** Logstash\
**Created:** [October 29, 2021, 5:56pm UTC](https://discuss.elastic.co/t/parse-xml-by-document-not-element/288028 "2021-10-29T17:56:05Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![INS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ins/32/92827_2.png) [@INS](https://discuss.elastic.co/u/INS)\
**Post date:** [October 29, 2021, 9:44pm UTC](https://discuss.elastic.co/t/parse-xml-by-document-not-element/288028/3 "2021-10-29T21:44:03Z")

</div>

and also You can find the align answer [here](https://discuss.elastic.co/t/how-to-parase-xml-in-logstash/285214/17)

---

_[View the full topic](https://discuss.elastic.co/t/parse-xml-by-document-not-element/288028)._
