Hello,

I have a title element as first child in a qandaentry element, this
should be allowed
(https://tdg.docbook.org/tdg/5.0/qandaentry.html) but saxon gives me the
following output:

        [xslt] Element title in namespace 'http://docbook.org/ns/docbook'
        encountered in qandaentry, but no template matches.

and the resulting *.html looks wrong. I'm using this stylesheet:

        docbook-xsl-1.79.2\html\docbook.xsl

I also get this warning

        [xslt] <absolute path>\docbook-xsl-1.79.2\common\utility.xsl:9:31:
        Warning! Stylesheet module <absolute 
path>/docbook-xsl-1.79.2/common/utility.xsl
        is included or imported more than once. This is permitted, but may
        lead to errors or unexpected behavior
        
and that's my ant target

        <xslt basedir="${basedir}/bugs" destdir="${basedir}/bugs" 
extension=".html"
                style="${style}/html/docbook.xsl"
                
classpath="${saxon.dir}\saxon9he.jar;${resolver.dir}\resolver.jar">
            <include name="*.xml" />
            <factory name="net.sf.saxon.TransformerFactoryImpl" />
        </xslt>

I've no clue what could be wrong.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to