I am trying to use xsltproc on windows and xi:include in my docbook 5 document rather than entities.
Unfortunately the windows version does not support this.
Saxon 9.6 and msxsl both report the error:
Unable to strip the namespace from DB5 document, cannot proceed Error at xsl:message on line 162 of docbook.xsl:
I have included
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:d="http://docbook.org/ns/docbook"
exclude-result-prefixes="d">
in my customisation xsl.
Is there anything else I should be doing?
I have edited my customisation stylesheet to
<?xml version='1.0'?>
<xsl:import href="file:///C:/docbook/docbook-xsl-ns-1.78.1/fo/docbook.xsl"/>
and use the command
>C:\docbook\Saxonica\SaxonHE9.5N\bin\transform -xi -xsl:my_fo.xsl -s:my_db.xml
should this now work?