Media Management Connector 25.2
Media Management Connector Help

# LuaXmlDocument Methods

This section describes the methods provided by `LuaXmlDocument` objects. A `LuaXmlDocument` object provides methods for accessing information stored in XML format. You can create a `LuaXmlDocument` from a string containing XML using the `parse_xml` function.

If you have a `LuaXmlDocument` object called `xml` you can call its methods using the '`:`' operator. For example:

    xml:root()

Method | Description
--- | ---
root | Returns a LuaXmlNode that is the root node of the XML document.
XPathExecute | Returns a LuaXmlNodeSet that is the result of supplied XPath query.
XPathRegisterNs | Register a namespace with the XML parser. Returns an integer detailing the error code.
XPathValue | Returns the first occurrence of the value matching the XPath query.
XPathValues | Returns the values according to the XPath query.

Copyright 2025 Open Text
Version 25.2 | Last updated April 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Media Management Connector 25.2

Topic Title: LuaXmlDocument Methods