.editorconfig export-ignore
.gitattributes export-ignore
.gitignore export-ignore
-pakefile.php export-ignore
phpunit.xml.dist export-ignore
$out = $processor->transformToXML($xml);
+// bring back the xsl file to its pristine state
+file_put_contents(
+ $xss,
+ str_replace(
+ array($docbookFoXslPath, $docbookChunkXslPath),
+ array('%fo-docbook.xsl%', '%docbook-chunk.xsl%'),
+ file_get_contents($xss)
+ )
+);
+
if (!is_dir($target)) {
if (!file_put_contents($target, $out)) {
error("KO saving output to '{$target}'");
<!-- import base stylesheet. This assumes the xslt is preprocessed before being used -->
-<xsl:import href="/home/docker/build/doc/build/vendor/docbook/docbook-xsl/fo/docbook.xsl"/>
+<xsl:import href="%fo-docbook.xsl%"/>
<!-- customization vars -->