参考 getName()

getName()

Returns the element's name as a String.

An XML element's name is given by its tag. For example, the element <language>JavaScript</language> has the name language.

示例

Returns

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

相关参考