Reference 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.

Examples

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!

Related References