Thanks for giving this information. I ended up using external C-language parser
with PyCapsule and lxml.etree.adopt_external_document() as noted in
https://lxml.de/capi.html#passing-generated-trees-through-python. Such
combination comes without performance decrease.
_______________________________________________
lxml - The Python XML Toolkit mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/lxml.python.org/
Member address: [email protected]