XML and namespaces
uche.ogbuji at gmail.com
uche.ogbuji at gmail.com
Mon Dec 5 10:29:03 EST 2005
I wrote:
"""
The reality is that once the poor user has done:
element = document.createElementNS("DAV:", "href")
They are following DOM specification that they have created an element
in a namespace, and you seem to be arguing that they cannot usefully
have completed their work until they also do:
element.setAttributeNS(xml.dom.XMLNS_NAMESPACE, None, "DAV:")
I'd love to hear how many actual minidom users would agree with you.
"""
Of course (FWIW) I meant
element.setAttributeNS(xml.dom.XMLNS_NAMESPACE, "xmlns", "DAV:")
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://fourthought.com
http://copia.ogbuji.net http://4Suite.org
Articles: http://uche.ogbuji.net/tech/publications/
More information about the Python-list
mailing list