"AdSR" wrote: > I'm having a problem with the Amara toolkit. Try this: > >>>> from amara import binderytools >>>> raw = '<pq:test xmlns="http://example.com/namespace" >>>> xmlns:pq="http://pq.com/ns2"/>' >>>> rwd = binderytools.bind_string(raw) >>>> print rwd.xml() > <?xml version="1.0" encoding="UTF-8"?> > <pq:test xmlns:pq="http://pq.com/ns2"/> > > What happened to the xmlns attribute? Does anyone know a solution to > this?
the documents are 100% identical in XML infoset terms, so what's the problem here ? > I see that people have reported similar problems with other XML toolkits, so > I guess this is a > general namespace ugliness. lack of namespace understanding, more likely. </F> -- http://mail.python.org/mailman/listinfo/python-list