EndElement Method
Writes the closing tag of an open XML element.
Syntax
async xml.endElement(): Promise<void>
Remarks
Writes the closing tag of the XML element most recently opened using StartElement.
If no elements are opened, the call fails with an error