---
title: "xmlFindArray"
slug: "tools-xmlfindarray"
updated: 2025-11-06T19:02:28Z
published: 2025-11-06T19:02:28Z
canonical: "docs.doc-know.com/tools-xmlfindarray"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.doc-know.com/llms.txt
> Use this file to discover all available pages before exploring further.
# xmlFindArray
### tools.xmlFindArray
Returns an array of child values at the specified parent XML element location.
### Input Parameters
| Name | Type | Required | Description |
| --- | --- | --- | --- |
| **xml** | Text | Yes | XML document |
| **path** | Text | Yes | Path to target parent XML element, separated by forward slashes (**/**) |
| **property** | Text | Yes | **Name** of child XML element's **attribute**; Specifying a **dot (.)** returns the **value** of the XML child element instead of an attribute value |
### Returns
Type: **Array**
Returns a new array of child values at the specified parent XML element location.
### Examples
```
var xml = "
Ford
BMW
";
// returns an array of years ["2010", "2020"]
var items = tools.xmlToArray(xml, "Favorites/Makes", "Year");
debug.log(items);
```
```
var xml = "
Ford
BMW
";
// returns an array of makes ["Ford", "BMW"]
var items = tools.xmlToArray(xml, "Favorites/Makes", ".");
debug.log(items);
```
### Remarks
None.