Skip to content

Instantly share code, notes, and snippets.

@eduardocl
Created April 25, 2014 13:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eduardocl/11289872 to your computer and use it in GitHub Desktop.
Save eduardocl/11289872 to your computer and use it in GitHub Desktop.
from xml.dom import minidom
xmldoc = minidom.parse('.classpath')
itemlist = xmldoc.getElementsByTagName('classpathentry')
for s in itemlist :
print s.attributes['path'].value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment