संदर्भ getContent()

getContent()

Returns the element's content as a String.

The parameter, defaultValue, is optional. If a string is passed, as in myXML.getContent('???'), it will be returned if the element has no content.

उदाहरण

सिंटैक्स

getContent([defaultValue])

पैरामीटर्स

defaultValue
String:

value to return if the element has no content.

Returns

String: element's content as a string.
This page is generated from the comments in src/io/p5.XML.js . Please feel free to edit it and submit a pull request!

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