addChild()

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

child element to add.

Notice any errors or typos? Please let us know. Please feel free to edit src/io/p5.XML.js and open a pull request!

संबंधित संदर्भ