Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #54416

Re: lxml question -- creating an etree.Element attribute with ':' in the name

From dieter <dieter@handshake.de>
Subject Re: lxml question -- creating an etree.Element attribute with ':' in the name
Date 2013-09-19 08:10 +0200
References <F1EF559F-76E7-42F4-AC96-5EC0E8B6DBA1@panix.com>
Newsgroups comp.lang.python
Message-ID <mailman.144.1379571060.18130.python-list@python.org> (permalink)

Show all headers | View raw


Roy Smith <roy@panix.com> writes:

> But, how do I handle something like:
>
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance", since "xmlns:xsi" isn't a valid python identifier?

Read about "lxml"'s "namespace" support.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: lxml question -- creating an etree.Element attribute with ':' in the name dieter <dieter@handshake.de> - 2013-09-19 08:10 +0200

csiph-web