Problem Creating PDF from XML Book (Stylesheet?)
Jeffrey Walton <[email protected]> Tue, 25 Oct 2011 04:28:37 -0400
| Newsgroups | gmane.text.xml.xalan.java.user |
|---|---|
| Message-ID | <CAH8yC8=wCYBMNsdE1W-O3G4nL+7-uL1TEMvEowvKX=-OUyOJRw@mail.gmail.com> |
Hi All, I'm working on Ubuntu 10.04 (x64). I installed the FOP package, and now trying to create a PDF from O'Reilly's DocBook sample at https://prod.oreilly.com/external/tools/docbook/docs/authoring/docbook_source/. $oreilly-handbook$ xalan -xml book.xml -pdf book.pdf results in an exception: oreilly-handbook$ xalan -in book.xml XSLT Error: Failed to process stylesheet. (line -1, column -1.) XSLException Type is: XSLTProcessorException Message is: Failed to process stylesheet. (Unknown URI, line -1, column -1) oreilly-handbook$ I believe i need to add `-xsl <stylesheet>`. But I don't know what the default stylesheet is. Would anyone be able to point out the default PDF stylesheet? And how does one specify a PDF output? I haven't gotten far enough to know what the default output is? There is -text and -html, but I did not see -pdf. Thanks in advance, Jeff