# How to parse multiple xml objects present at same level in the response

**URL:** <https://community.postman.com/t/how-to-parse-multiple-xml-objects-present-at-same-level-in-the-response/25350>\
**Category:** Help Hub\
**Tags:** xml-parsing\
**Created:** [June 30, 2021, 12:08pm UTC](https://community.postman.com/t/how-to-parse-multiple-xml-objects-present-at-same-level-in-the-response/25350 "2021-06-30T12:08:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![bpricilla](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/bpricilla/32/6511_2.png) [@bpricilla](https://community.postman.com/u/bpricilla)\
**Post date:** [June 30, 2021, 1:24pm UTC](https://community.postman.com/t/how-to-parse-multiple-xml-objects-present-at-same-level-in-the-response/25350/2 "2021-06-30T13:24:52Z")

</div>

Hello @vaibhavbarmkar 👋

Can you please have a look at this [post](https://community.postman.com/t/how-to-retrieve-data-from-odata-response/11025)?

Try using

```auto

let xml2js = require('xml2js');

let xml = pm.response.text();

```

---

_[View the full topic](https://community.postman.com/t/how-to-parse-multiple-xml-objects-present-at-same-level-in-the-response/25350)._
