|
|
@ -383,8 +383,8 @@ class ObjectHelper { |
|
|
|
$xsl->load($path . '/xsl/convertQDC.xsl'); |
|
|
|
$xsl->load($path . '/xsl/convertQDC.xsl'); |
|
|
|
$input = new DomDocument(); |
|
|
|
$input = new DomDocument(); |
|
|
|
$input->loadXML(trim($xmlstr)); |
|
|
|
$input->loadXML(trim($xmlstr)); |
|
|
|
} catch (exception $e) { |
|
|
|
} catch (Exception $e) { |
|
|
|
watchdog(t("Fedora_Repository"), "Problem loading XSL file: @e", array('@e' => $e), NULL, WATCHDOG_ERROR); |
|
|
|
watchdog('fedora_repository', "Problem loading XSL file: @e", array('@e' => $e->getMessage()), NULL, WATCHDOG_ERROR); |
|
|
|
} |
|
|
|
} |
|
|
|
$xsl = $proc->importStylesheet($xsl); |
|
|
|
$xsl = $proc->importStylesheet($xsl); |
|
|
|
$newdom = $proc->transformToDoc($input); |
|
|
|
$newdom = $proc->transformToDoc($input); |
|
|
|