Add Xml generator new functionality.

Add text to xml elements.