Skip to main content

Name

node:doc — Return the document object that contains the specified node

Synopsis

require('xml');

node:doc();

Description

Return the document object that contains the specified node.

local doc = node:doc();
print(doc:tostring());

See Also

Was this page helpful?