---
title: "XMLLIST"
url: "https://help.formsfly.com/en/article/xmllist"
language: "en"
last_updated: "2025-01-13T16:47:14.422Z"
---

# XMLLIST

Returns a List of values from the given XML for the given XPath query.

* * *

### Syntax

`**XMLLIST({{myxml}}, 'resp/products/id')**`

### Example

```plaintext
XMLLIST({{myxml}}, 'resp/products/id')
```

### Notes

The opening XPath '/' is not required.

Use the optional true/false validate parameter to raise an error if the query fails.

[Learn more about XPath](https://www.w3schools.com/xml/xpath_syntax.asp)

### Related 

[XMLVAL](https://help.formsfly.com/en/article/xmlval)
