Added docs for asXML function