Ariel Anderson <[EMAIL PROTECTED]> writes:

>Hmm, now that I've downgraded, I'm getting a different set of errors.
>
>1) When I run the following command to convert the XML file to HTML (which
>worked fine with version 1.47):
>
>       java org.apache.xalan.xslt.Process -in book.xml -xsl
>docbook-xsl-1.46-experimental/html/docbook.xsl -out book.html

>I get this error:
>
>       (Location of error unknown)XSLT Error
>(javax.xml.transform.TransformerConfigurationException):
>javax.xml.transform.TransformerException: java.lang.RuntimeException:
>ElemTemplateElement error: Found more than one template named: anchor
Ummmm...no idea.  I'm using xsltproc, and it doesn't have any problem
with the 1.46 version of the style sheets.

>2) I also get this same error if I run the command for creating the FO.
What version of Xalan are you using?

>3) When I run the following command to generate PDF from the XML file:
>       java org.apache.fop.apps.Fop -xml book.xml -xsl
>docbook-xsl-1.46-experimental/html/docbook.xsl -pdf book.pdf

This should be:

        java org.apache.fop.apps.Fop -xml book.xml \
             -xsl docbook-xsl-1.46-experimental/fo/docbook.xsl -pdf book.pdf

In this case, you want the formatting-object style sheets, not the
html ones. :-)

                                        m@

Reply via email to