<Date>2001-12-31</Date>
node = xmlDocument.createElement("Date"); node.text(date2str(date, 321, 2, 3, 2, 3, 4)); rootNode.appendChild(node);