Start switching out libxmljs, see #156

This is just 1 file out of several, but baby steps.