Closed dikastes closed 2 months ago
Maybe it would be good to directly retrieve the XSLT file from a github repository, see for example https://github.com/KristinaRichts/mei-metadata-skripts.
$xsltDocument = XmlDocument::fromGithub(
// repository
'KristinaRichts/mei-metadata-skripts',
// filename
'RISM2MEI_v2.xsl',
// branch
'main'
);
$document = XmlDocument::from($string);
$convertedDocument = $document->convert($xsltDocument);
XmlDocument should be enabled to perform XSLT conversion. I'd like to be able to do something like
where $xsltDocument is also of type XmlDocument and $document stays unmuted.