<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">That solved the problem, thanks</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">There were another file named xml, that was imported instead of the one intended. I should have thought of that my self from the beginning…
</span></p>
<p class="MsoNormal" style="MARGIN: 0cm 0cm 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">Once again, thanks for the help!</span></p>
<div> </div>
<div>/P-O<br><br> </div>
<div><span class="gmail_quote">On 6/21/06, <b class="gmail_sendername">Dieter Maurer</b> <<a href="mailto:dieter@handshake.de">dieter@handshake.de</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">P-O Bengtsson wrote at 2006-6-21 00:58 +0200:<br>>i have tried both and got the same error message. I have also tried to
<br>>import the dom package in the same two ways without any luck...<br>><br>>On 6/20/06, Dieter Maurer <<a href="mailto:dieter@handshake.de">dieter@handshake.de</a>> wrote:<br>>> P-O Bengtsson wrote at 2006-6-20 10:34 +0200:
<br>>> > ...<br>>> >"import xml" works fine, but when I try to import dom or sax package I<br>>> get<br>>> >the error message<br>>> ><br>>> >" ImportError: No module named sax"
<br><br>Several possibilities:<br><br>* You get an "xml" from a different position than you<br> expect.<br><br> You can find out via "xml.__file__".<br><br>* Your "xml" lacks an "__init__.py".
<br><br> In this case, it is not viewed as a Python package<br> (with subpackages and/or modules)<br><br>* The "sax", "dom", ... folders lack "__init__.py"<br> files<br><br><br>--<br>Dieter
<br></blockquote></div><br>