All I can add to this is: - don't use SAX unless your document is huge - don't use DOM unless someone is putting a gun to your head There's a good selection of nice and simple XML processing libraries in python. You could start with ElementTree.