2008-06-20 | Paul Boddie | raw annotate files changeset graph | Added tag rel-0-3-2 for changeset 30f8a800f02f |
1 #!/usr/bin/env python 2 3 import libxml2dom 4 5 document = libxml2dom.createDocument(None, "doc", None) 6 e = document.xpath("*")[0] 7 e.setAttributeNS("xxx", "yyy", "zzz") 8 e.setAttributeNS("xxx", "yyy", "zzz") 9 e.setAttributeNS("xxx", "x:yyy", "zzz") 10 e.setAttributeNS("xxx", "x:yyy", "zzz") 11 print document.toString() 12 13 # vim: tabstop=4 expandtab shiftwidth=4