Added support for XMLLiterals

This now working with embedded nodes.