Here’s the latest working version of dynamic library loading interface for libxml2. It is still only implemented on win32 but has a bit better API:
Attachment: dynalib.c Description: Binary data
Attachment: dynalib.h Description: Binary data