Dynamics Connector 12.13

# LuaXmlNode Methods

A `LuaXmlNode` object represents a single node in an XML document.

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

    node:name()

Method | Description
--- | ---
attr | Returns the first LuaXmlAttribute attribute object for this element.
content | Returns the content (text element) of the XML node.
firstChild | Returns a LuaXmlNode that is the first child of this node.
lastChild | Returns a LuaXmlNode that is the last child of this node.
name | Returns the name of the XML node.
next | Returns a LuaXmlNode that is the next sibling of this node.
nodePath | Returns the XML path to the node that can be used in another `XPath` query.
parent | Returns the parent LuaXmlNode of the node.
prev | Returns a LuaXmlNode that is the previous sibling of this node.
type | Returns the type of the node as a string.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.13 | Last updated October 2022

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 swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Dynamics Connector 12.13

Topic Title: LuaXmlNode Methods