This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
RE: Trouble with transforming XML to PDF
- From: Ariel Anderson <Ariel dot Anderson at ceb dot ucop dot edu>
- To: 'Matthew Braun' <mbraun at urbana dot css dot mot dot com>
- Cc: "'docbook-apps at lists dot oasis-open dot org'" <docbook-apps at lists dot oasis-open dot org>
- Date: Thu, 13 Dec 2001 16:25:18 -0800
- Subject: RE: DOCBOOK-APPS: Trouble with transforming XML to PDF
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
2) I also get this same error if I run the command for creating the FO.
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
I get this error:
FOP 0.20.1
ERROR: null
Any ideas?
Thanks!
-Ariel