24 Aug
2005
24 Aug
'05
2:04 p.m.
Ken Beesley wrote:
Does lxml handle XML 1.1 documents?
I have an application where I need to use XML 1.1. In particular, I need to parse/process XML documents that include control characters that are valid in XML 1.1 but not in 1.0.
Not unless libxml2, which is underlying lxml, supports XML 1.1. I do not know whether it does; perhaps you can check with them (I googled but couldn't find much conclusive). Of course even if libxml2 does, it might require some special call or something to enable this, so lxml may also need some tweaks to support it. Regards, Martijn