> For the complete documentation index, see [llms.txt](https://docs.roboteasy.tech/studio-en/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.roboteasy.tech/studio-en/studio/objetos/xml/ler-elementos.md).

# Read Elements

Object to loop through an XML element so that all child elements can be read.

{% hint style="info" %}
This object depends on other objects: Import XML, Select Element&#x20;
{% endhint %}

## Settings&#x20;

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MXqipJYSyW2kxbsu3p3%2F-MXqk41-6I1vlGJQlXRU%2Fimage.png?alt=media\&token=17c30efe-58a8-4b59-9c5c-b7be86d9e272)

| Field                  | Descriptive                                                                                                                                   |
| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
| Title                  | Object title                                                                                                                                  |
| Object Identifier Name | Singular name for this object                                                                                                                 |
| Select Main Object     | Select the XML object for this operation                                                                                                      |
| Add Element            | Adds a new element field                                                                                                                      |
| Element                | XML element that you want to find. If it has attributes, separate them with space. If you want to validate the attribute value, do: root id=2 |
| Row Counter            | Variável para contar quantas vezes fez a interação dentro do laço - Variable to count the number of iterations                                |
| Starting Counter Value | Initial value of the counter                                                                                                                  |
| Counter Increment      | Value that increments the counter                                                                                                             |

### Propriedades do Elemento - Element Properties&#x20;

| Properties                               | Description   |
| ---------------------------------------- | ------------- |
| \[Object Identifier Name].Value          | Element Value |
| \[Object Identifier Name].Name.LocalName | Element Name  |

> The \[Object Identifier Name] must be the same name entered in the "Object Identifier Name" field, for example:
>
> XmlReadElements10.Value
>
> XmlReadElements10.Name.LocalName

### Example

![](https://1031980850-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MRKcZBCSfHjT8BRPnSe%2F-MXqkLCttT_CnRIBPSTE%2F-MXqkVldQT5GIGf3_Zjw%2Fimage.png?alt=media\&token=8e3cd1d4-b2ea-4d57-bbe7-849c31086b44)
