adjust asXml show for valid XML. refs #3