레퍼런스 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!

관련 레퍼런스