added cdata element generation when adding an XML node