cytoscape

How to write namespaced element attributes with LXML?

How to write namespaced element attributes with LXML?
I'm using lxml (2.2.8) to create and write out some XML (specifically XGMML). Theappwhich will be reading it is apparently fairlyfussyand wants to see a top level element with:<graph label="Test" xmlns:dc="http://purl.org/dc/elements/1.1
What Others Are Reading