Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've had a look at the following thread about using MXD2QGS and so far I've figured out that this only works with version 10.0 and Python 2.6. I installed MXD2QGS on a machine with Arc10.0 and Python 2.6 and ran the tool.

It's throwing an error:

No module named ext

I opened the python script and it imports xml.dom.ext, so I think this is where the error is occurring. I did some research and it seems to be that this module doesn't come packaged with 2.6 and I think I read that the last version it came with was 2.4. That's fine, but I'm wondering how the developer of this tool created it in 2.6? I couldn't find this module to download, so I'm also wondering if there's a workaround module?

If anyone has some suggestions, I'm all ears.

Thanks, Mike

share|improve this question
I've the same you have found a solution now? If yes could you help me please? laura – user20576 Jul 30 '13 at 14:51
This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. – Zachary Jul 30 '13 at 15:15

A quick google search found the following Q/A on other sites, one posted by @Mike over on Stack Overflow.

It looks like it is from a now unmaintained "PyXML" module. And while it appears that it is no longer maintained, it looks like you can still download it from:

share|improve this answer

mxd2qgs will work without the old module:

##import xml.dom.ext

if you change:

##xml.dom.ext.PrettyPrint(doc, f)



BUT The xml is not 'pretty', it doesn't import symbology (the script was never designed to do that), and it doesn't handle geodatabase layers.

(Due credit: ...thanks!)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.