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