Reads data from an XML element.
eOk if the data was successfully read; otherwise, the method returns an appropriate error code.