Jim, 26.12.2010 00:32:
On Dec 25, 5:33 am, Stefan Behnel wrote:
lxml knows about this special case, so you can write
{http://www.w3.org/XML/1998/namespace}lang
and lxml will take care of using the right prefix.
Stefan, thank you for the software, which has helped me a great deal.
I
On Dec 24, 10:17 am, Adam Tauno Williams
wrote:
> On Fri, 2010-12-24 at 20:48 +0530, Nitin Pawar wrote:
> > On Fri, Dec 24, 2010 at 8:40 PM, Jim wrote:
> > Hello, I wonder if someone knows about lxml.etree and
> > namespaces?
>
> Yes, and don't.
He's using lxml.etree (which is a
On Dec 25, 5:33 am, Stefan Behnel wrote:
> lxml knows about this special case, so you can write
>
> {http://www.w3.org/XML/1998/namespace}lang
>
> and lxml will take care of using the right prefix.
Stefan, thank you for the software, which has helped me a great deal.
I tried that exact t
Jim, 24.12.2010 16:10:
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.
..
I've tried just comment_elet.set('xml:lang','de') and it didn't like
that at all (although it t
On Fri, 2010-12-24 at 20:48 +0530, Nitin Pawar wrote:
> On Fri, Dec 24, 2010 at 8:40 PM, Jim wrote:
> Hello, I wonder if someone knows about lxml.etree and
> namespaces?
Yes, and don't.
> I want to build an ElementTree where some of the sub-elements have
> attributes that serial
On Fri, Dec 24, 2010 at 8:40 PM, Jim 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.
>
> ..
>
> I've tried just comment_elet.set('xml:lang','de') and it didn't
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.
..
I've tried just comment_elet.set('xml:lang','de') and it didn't like
that at all (although it takes comment_elet.set('aut