<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>&nbsp;</div>
<div>/P-O<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 6/21/06, <b class="gmail_sendername">Dieter Maurer</b> &lt;<a href="mailto:dieter@handshake.de">dieter@handshake.de</a>&gt; 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>&gt;i have tried both and got the same error message. I have also tried to
<br>&gt;import the dom package in the same two ways without any luck...<br>&gt;<br>&gt;On 6/20/06, Dieter Maurer &lt;<a href="mailto:dieter@handshake.de">dieter@handshake.de</a>&gt; wrote:<br>&gt;&gt; P-O Bengtsson wrote at 2006-6-20 10:34 +0200:
<br>&gt;&gt; &gt; ...<br>&gt;&gt; &gt;&quot;import xml&quot; works fine, but when I try to import dom or sax package I<br>&gt;&gt; get<br>&gt;&gt; &gt;the error message<br>&gt;&gt; &gt;<br>&gt;&gt; &gt;&quot; ImportError: No module named sax&quot;
<br><br>Several possibilities:<br><br>*&nbsp;&nbsp;You get an &quot;xml&quot; from a different position than you<br>&nbsp;&nbsp;&nbsp;&nbsp;expect.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;You can find out via &quot;xml.__file__&quot;.<br><br>* Your &quot;xml&quot; lacks an &quot;__init__.py&quot;.
<br><br>&nbsp;&nbsp; In this case, it is not viewed as a Python package<br>&nbsp;&nbsp; (with subpackages and/or modules)<br><br>* The &quot;sax&quot;, &quot;dom&quot;, ... folders lack &quot;__init__.py&quot;<br>&nbsp;&nbsp; files<br><br><br>--<br>Dieter
<br></blockquote></div><br>