---
title: "xmlFind"
slug: "tools-xmlfind"
updated: 2025-11-06T19:02:14Z
published: 2025-11-06T19:02:14Z
canonical: "docs.doc-know.com/tools-xmlfind"
---
> ## 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.
# xmlFind
### tools.xmlFind
Returns a value at the specified XML element location.
### Input Parameters
| Name | Type | Required | Description |
| --- | --- | --- | --- |
| **xml** | Text | Yes | XML document |
| **path** | Text | Yes | Path to target XML element, separated by forward slashes (**/**) |
| **property** | Text | Yes | **Name** of XML element's **attribute**; Specifying a **dot (.)** returns the **value** of the XML element instead of an attribute value |
### Returns
Type: **Text**
Returns a value at the specified XML element location.
### Examples
```
var xml = "
Ford
BMW
";
// returns the count of Makes
var count = tools.xmlFind(xml, "Favorites/Makes", "Count");
debug.log(count);
```
```
var xml = "
Ford
BMW
";
// returns the value 'Ford' since it is the first Make element
var make = tools.xmlFind(xml, "Favorites/Makes/Make", ".");
debug.log(make);
```
### Remarks
None.