node:children
March 26, 2020
Name
node:children — Return an iterator of all child nodes
Synopsis
require('xml');
node:children();
Description
Return an iterator of all child nodes of the specified node. Any text nodes are also included.
for child in node:children() do print(child:name()); end