newXMLDoc function

Create internal XML node or document object