Author: bugman Date: Sun Jun 22 13:31:34 2008 New Revision: 6385 URL: http://svn.gna.org/viewcvs/relax?rev=6385&view=rev Log: Added some imports and create the empty XML document object. Modified: 1.3/generic_fns/xml.py Modified: 1.3/generic_fns/xml.py URL: http://svn.gna.org/viewcvs/relax/1.3/generic_fns/xml.py?rev=6385&r1=6384&r2=6385&view=diff ============================================================================== --- 1.3/generic_fns/xml.py (original) +++ 1.3/generic_fns/xml.py Sun Jun 22 13:31:34 2008 @@ -23,6 +23,10 @@ # Module docstring. """Module for the creation and parsing of an XML representation of a data pipe.""" +# Python module imports. +import xml.dom.ext +import xml.dom.minidom + # relax module imports. from data import Relax_data_store; ds = Relax_data_store() @@ -44,3 +48,6 @@ @param file: The open file object. @type file: file """ + + # Create the XML document object. + xmldoc = xml.dom.minidom.Document()