Adds a new child element and returns a reference to it.
The parameter, child, is the p5.XML object to add as a child element. For example, calling myXML.addChild(otherXML) inserts otherXML as a child element of myXML.
示例
语法
addChild(child)
参数
child
p5.XML:
child element to add.
返回值
p5.XML: added child element.
This page is generated from the comments in src/io/p5.XML.js . Please feel free to edit it and submit a pull request!