Sets the element's content.
An element's content is the text between its tags. For example, the element <language>JavaScript</language>
has the content JavaScript
.
The parameter, content
, is a string with the element's new content.
Examples
Syntax
setContent(content)
Parameters
content
String:
new content for the element.
This page is generated from the comments in src/io/p5.XML.js . Please feel free to edit it and submit a pull request!