Added support for single item XML elements.