EndElement Event
Fired when an end-element tag is encountered.
Syntax
rest.on('EndElement', [callback])
Callback
The 'callback' is called when the 'EndElement' event is emited.
function(e){ }
The argument 'e' has the following properties:
e.namespace e.element e.QName e.isEmpty
Remarks
The EndElement event is fired when an end-element tag is found in the document.
The element name is provided by the Element parameter.
The IsEmpty parameter is true when the event corresponds with an empty element declaration.