This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Need help with xalan 2.1.0


Entered BUG report ([ #441079 ] transform broken for xhtml with xalan)
on source forge.

problem:
xhtml/docbook.xsl includes html/docbook.xsl

xhtml has <xsl:output method="xml" and
html has <xsl:output method="html" ...
and xalan doesn't like this.

Changing either so they match fixes the problem. I my experience the xml
output method puts the xml declaration <?xml ...?> at the top and this
creates problems with IE 5 and I think 5.5 so I have had to comment this
out anyway.

Beside the xml declaration, what is the difference between output
methods anyway?

Eric

Eric Richardson wrote:
> 
> Hi,
> Trying to get xalan 2.1.0 to work with the 1.41 stylesheets.
> 
> Here is the error.
> XSLT Error (javax.xml.transform.TransformerConfigurationException):
> Namespace not supported by SAXParser
> 
> Here is my driver file.
> <?xml version="1.0" encoding="utf-8"?>
> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform";
>                 version='1.0'
>                 xmlns="http://www.w3.org/TR/xhtml1/transitional";
>                 exclude-result-prefixes="#default">
> 
> <xsl:import href="../docbook-xsl/xhtml/docbook.xsl"/>
> 
> <!-- override variables defined in param.xsl -->
> <xsl:variable name="toc.section.depth">3</xsl:variable>
> <!-- Add other variable definitions here -->
> <xsl:param name="base.dir" select="'html/'"/>
> <xsl:param name="use.id.as.filename" select="1"/>
> <xsl:param name="html.encoding" select="'ISO-8859-1'"/>
> </xsl:stylesheet>
> 
> Any help appreciated.
> Eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]