Added support for xml prologs and comments. They currently have no function but will not be treated as malformed XML tags.
Added support for self-closing tags.