bug fix: XML output containing a class attribute, now appears as a string.   Empty nodes are now displayed as self-closing tags.