A very simple DOM manipulation tool.
Set elements content to the string. This removes any preexisting child elements.
Append the subElement as new child element. The subElement is within a SimpleDOM wrapper.
Append this element to the parentElement. The parentElement is within a SimpleDOM wrapper.
Sets or creates and element attribute 'name' to the value 'value'
Returns the wrapped DOM element.
Removes all content from the element.