Use ElementTree instead of minodom and new metadata retrieval methods