1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/tests/namespaces3.py Mon Dec 12 00:49:23 2005 +0000
1.3 @@ -0,0 +1,13 @@
1.4 +#!/usr/bin/env python
1.5 +
1.6 +import libxml2dom
1.7 +
1.8 +document = libxml2dom.createDocument(None, "doc", None)
1.9 +e = document.xpath("*")[0]
1.10 +e.setAttributeNS("xxx", "yyy", "zzz")
1.11 +e.setAttributeNS("xxx", "yyy", "zzz")
1.12 +e.setAttributeNS("xxx", "x:yyy", "zzz")
1.13 +e.setAttributeNS("xxx", "x:yyy", "zzz")
1.14 +print document.toString()
1.15 +
1.16 +# vim: tabstop=4 expandtab shiftwidth=4