Thanks a lot - it's working fine now.

For future reference, is this the correct fo.xsl template:

<xsl:stylesheet version="1.0"
                xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
                xmlns:d="http://docbook.org/ns/docbook";
                exclude-result-prefixes="d">
<xsl:import href="xxe-config:docbook5/xsl/fo/fo.xsl"/>
</xsl:stylesheet>

?

Jon



> The chunk.xsl template is incorrect: it is missing the declaration of
> the xsl namespace prefix.
>
> Please find attached to this email a copy where the bug has been fixed.
>
> Note that I haven't tested anything here, but the parse error seems obvious.
>
>
>
>
> Jon Ison wrote:
>>
>> I've created the directory and files:
>>
>> [jison at emboss19 custom]$ pwd
>> /homes/jison/.xxe4/addon/custom
>>
>> [jison at emboss19 custom]$ ls
>> 0docbook5.xxe  chunk.xsl  fo.xsl  readme
>>
>> I've edited 0docbook5.xxe to include the property (for chunk.xsl only).
>> I haven't added anything (yet) to chunk.xsl
>>
>> When I try to convert my document to HTML, I get an error (Failed to parse 
>> stylesheet)
>>
>> ...
>> Copying file 
>> "file:/opt/xxe-pro-4_4_0/addon/config/docbook5/xsl/css/html.css" to
>> "/tmp/xxe9175896339809769997/html.css"
>> Transforming XML file "__doc.xml" to "__doc.html" using "<property 
>> name="db5.toHTML.transform">"
>> Compiling style sheet "file:/homes/jison/.xxe4/addon/custom/chunk.xsl"
>> Fatal error: Error reported by XML parser
>>
>


Reply via email to