# Evaluate XPath

This activity evaluates the XPath on a use-Decodespecified XML input.

### Input

* **XPath:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) <mark style="color:red;">`Required`</mark>\
  Input the XPath of the element to be read.
* **Input:** [`String Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#string) <mark style="color:red;">`Required`</mark>\
  Input the XML to evaluate the XML.
* **Decode Html:** [`Boolean Argument`](https://docs.visualyze.ai/getting-started/rpa-studio/arguments#types-of-arguments)\
  Specifies whether to apply text preprocessing to decode Html to convert Html entities on the Html input.
* **Input Format:**\
  Specifies the type of input provided. By default the value is **XML.**

### Output

* **Result:** [`String Variable`](https://docs.visualyze.ai/getting-started/rpa-studio/variables#string)\
  Stores the updated XML after evaluating the XPath in the specified [String ](https://docs.visualyze.ai/getting-started/rpa-studio/variables#string)variable.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.visualyze.ai/rpa-studio/file/xml/evaluate-xpath.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
