Writes the closing tag of an open XML element.
int EndElement();
Writes the closing tag of the XML element most recently opened using StartElement.
If no elements are opened, the call fails with an error