Your XSL document contains an invalid structure and cannot be loaded. ERROR: DOMDocument::loadXML(): Empty string supplied as input