Writes an XML element data to a specified XML node.
eOk if the data was successfully written; otherwise, the method returns an appropriate error code.