GetElemText(String) Method
- Last UpdatedNov 06, 2025
- 1 minute read
To extract the text for a given element in the loaded XML document. The text may be a single text value or an XML substring if the element has child nodes NB: XML doc object must have been created and loaded with the XML string. ElemName may include XPath syntax eg: "//object" or "//request/object" Throws an exception containing the error details if specified element is NOT found