[oXygen-user] html-customization layer and chunk.xsl

Sean Wheller
Sun Jan 18 10:18:06 CST 2004


I want to chunk my document to HTML using html/chunk.xsl from the Docbook 
Stylesheets bundled with Oxygen 3.0.

I have created a customization layer (html-cust.xsl) that does an xsl:import 
of chunk.xsl and xsl:include of customizations that are common to HTML and FO 
(common-cust.xsl). The part we're interested in looks like this:

<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
    <!-- This file is a customization layer for HTML only -->
    <!-- ======================= -->
    <!-- Imports -->
    <xsl:import href="/home/sean/apps/oxygen/docbook/xsl/html/chunk.xsl"/>
    <xsl:include href="common-cust.xsl"/>

When I validate this xsl file I get the following error:

F javax.xml.transform.TransformerException: ElemTemplateElement error: 

Yet when I replace chunk.xsl with html/docbook.xsl the xsl is valid.

Any ideas anyone?

Sean Wheller

More information about the oXygen-user mailing list