Returns an array with the element's child elements as new p5.XML objects.
The parameter, name, is optional. If a string is passed, as in myXML.getChildren('cat'), then the method will only return child elements with the tag <cat></cat>.
示例
语法
getChildren([name])
参数
name
String:
name of the elements to return.
返回值
p5.XML[]: child elements.
This page is generated from the comments in src/io/p5.XML.js . Please feel free to edit it and submit a pull request!