Added more current libxml API to enable injecting xsl from custom defined sources.