On Fri, Dec 24, 2010 at 8:40 PM, Jim <jim.heffe...@gmail.com> wrote: > Hello, I wonder if someone knows about lxml.etree and namespaces? > > I want to build an ElementTree where some of the sub-elements have > attributes that serialize this way. > > <comment xml:lang='de'>..</comment> > > I've tried just comment_elet.set('xml:lang','de') and it didn't like > that at all (although it takes comment_elet.set('auth:id','jones') > just fine). I've also spelunked the docs and googled but have not hit > on the right invocation. If someone knows, I'd be grateful. > > Jim > -- > http://mail.python.org/mailman/listinfo/python-list >
You can check this http://codespeak.net/pipermail/lxml-dev/2006-February/000920.html -- Nitin Pawar
-- http://mail.python.org/mailman/listinfo/python-list