Adds a new element to the root element of the document.
the name of the element
the value of the element
a reference to the element
See Implementation
Adds a new element to the root element of the document.