# Select Method

> Selects the text of an XML element that belongs to the document; for an element with several sub-elements, the text of the first sub-element is selected.

- **Product:** TX Text Control ActiveX
- **Section:** Documentation
- **Kind:** Method
- **Path:** TX Text Control ActiveX > API Reference > XMLElement > Select Method
- **Web URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/select-method/
- **LLMs URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/select-method/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/select-method/llms-full.txt

---

## On This Page

- [Syntax](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/select-method/#syntax)
- [Remarks](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/select-method/#remarks)
- [See Also](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/select-method/#see-also)

---

## Nearby

- **Previous:** [RemoveChild Method](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/removechild-method/llms.txt)
- **Next:** [Text Property](https://docs.textcontrol.com/tx-text-control-activex/reference/xmlelement/text-property/llms.txt)
