> I tried to parse a xml schema file which contains, Can you please provide a complete example (including the XML files)? Can you also provide information on the software you are using (Python version, PyXML version, etc)? I cannot reproduce the problem. minidom parses your snippet just fine. Regards, Martin