Stefan Behnel wrote: [---] > lxml.etree already implements that, BTW. > > http://codespeak.net/lxml
Ok, thanks. I'll take a look at it. [---] > Some people propose just that if you really *want* a declaration. No need to > have it, though, as ET will create well-formed XML anyway. Yeah, I checked the specs, and found a '?' there (but not where I expected it to be). I just checked the first mention of the "header", and didn't see it marked as optional. However, I want it to be there, simply because it feels better. I'll check lxml out. -- Kind regards, Jan Danielsson -- http://mail.python.org/mailman/listinfo/python-list