#ifdef libxml2 stuff for when we don't have it