[lxml-dev] Removing an attribute
Geoffrey Sneddon
foolistbar at googlemail.com
Sat Jul 5 10:48:50 CEST 2008
Hi,
I can't seem to find any way to totally remove an attribute, short of
using Element.clear() (which has obvious issues when you just want to
remove a single attribute). I need to remove at least @id: conformance
requirements say this must be at least one character, thus just
setting it to an empty string does not suffice.
--
Geoffrey Sneddon
<http://gsnedders.com/>
More information about the lxml-dev
mailing list