# XMLElements Property

> Returns an XMLElements collection of all XML elements in the document that have the given tag name, to access their XMLElement objects. Read only.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Property
- **Path:** TX Text Control ActiveX > API Reference > TXTextControl > XMLElements Property
- **178 words**
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/xmlelements-property/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/xmlelements-property/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/xmlelements-property/llms-full.txt

---

Returns a collection of all XML elements with the same tag name.

### Syntax

```vbscript
TXTextControl.XMLElements ElementName
```

### Parameters

| Parameter | Description |
|---|---|
| ElementName | Specifies the name of the XML elements. The returned collection object contains all XML elements with this name. |

### Data Types

[XMLElements Collection](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/llms-full.txt) object.

### Limitations

Read only, run time only.

### See Also

- [Working with XML Files](https://docs.textcontrol.com/tx-text-control-activex/document-editor/xml/llms-full.txt)
- [XMLElements Collection](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelements/llms-full.txt)
- [XMLElement Object](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/llms-full.txt)
- [Programming Category: XML Programming](https://docs.textcontrol.com/tx-text-control-activex/reference/categories/xml/llms-full.txt)

---

## Nearby

- **Previous:** [XMLEditMode Property](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/xmleditmode-property/llms-full.txt)
- **Next:** [XMLInvalid Event](https://docs.textcontrol.com/tx-text-control-activex/reference/txtextcontrol/xmlinvalid-event/llms-full.txt)
