I have always used Saxon with no issues to produce FO which is passed to
Apache FOP for PDF output. Just specify '.fo' as the file type for the
output of Saxon.

Here is the content of my bash shell script:

#!/bin/bash

java -classpath ~/saxon/saxon9he.jar net.sf.saxon.Transform -s:$1.xml
-xsl:/usr/share/xml/docbook/stylesheet/docbook-xsl-ns/fo/docbook.xsl -o:$
1.fo

~/fop-1.1/fop -fo $1.fo -pdf $1.pdf

rm $1.fo


-Phillip

On Wed, Apr 1, 2015 at 8:37 AM, Richard Hamilton <[email protected]>
wrote:

> Hi Sascha,
>
> You should be able to use xsltproc for either DB4 or DB5. In fact, the
> stylesheets are the same for both DB5 and DB4. They handle either version.
>
> You can also use Saxon (that's what I use, but I don't know of any reason
> why xsltproc won't work just fine, too).
>
> Hope that helps.
> Richard Hamilton
> -------
> XML Press
> XML for Technical Communicators
> http://xmlpress.net
> [email protected]
>
>
>
> On Mar 31, 2015, at 3:10, Sascha Manns <[email protected]> wrote:
>
> > Hi Benjamin,
> >
> > i meant that i want to produce a fo file from DocBook5. In DB4 i can use
> xsltproc but i don't know if it is the right tool for DB5.
> > --
> > Yours sincerly
> > Sascha Manns
> > ---------------------------------
> > XCOM AG
> > Qualitätsmanagement Banksystem Backend
> > Rechnungswesen, Meldewesen, Steuern
> > Rennweg 60
> > Haus 2
> > 56626 Andernach
> >
> > Telefon  +49 2632 9899-158
> > Telefax  +49 2632 9899-010
> >
> > [email protected]
> > http://www.xcom.de
> >
> >
> > *** XCOM AG Legal Disclaimer ***
> >
> > Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist
> allein für den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten
> ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir
> bitten, eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen
> und uns eine Nachricht zukommen zu lassen.
> >
> > This email may contain material that is confidential and for the sole
> use of the intended recipient. Any review, distribution by others or
> forwarding without express permission is strictly prohibited. If you are
> not the intended recipient, please contact the sender and delete all copies.
> >
> > Hauptsitz: Allee 8, D-47877 Willich, USt-IdNr.: DE 812 885 664
> > Kommunikation: Telefon +49 2154 9209-70, Telefax +49 2154 9209-900,
> > www.xcom.de
> >
> > Handelsregister: Amtsgericht Krefeld, HRB 10340
> > Vorstand: Dirk Franzmeyer, Marco Marty, Dirk Werner, Sascha Bochartz
> > Vorsitzender des Aufsichtsrates: Stefan H. Tarach
> >
> > -------- Original-Nachricht --------
> > Betreff: Re: [docbook-apps] FO File from DocBook5
> > Von: Kallauch, Benjamin (EEIN) <[email protected]>
> > An: Sascha Manns <[email protected]>
> > Datum: 31.03.2015 12:08
> >> Hi Sascha, is your question more about creating FO or about how to
> handle DocBook 5 (instead of DocBook 4.x)?
> >>
> >> regards, Ben.
> >>
> >> Von: Sascha Manns [mailto:[email protected]]
> >> Gesendet: Dienstag, 31. März 2015 11:26
> >> An: [email protected]
> >> Betreff: [docbook-apps] FO File from DocBook5
> >>
> >> Hello list,
> >>
> >> just a question. What is the best way to produce a *.fo file from a
> DocBook5 source?
> >>
> >> Greetings
> >> Sascha
> >>
> >> --
> >> Yours sincerly
> >> Sascha Manns
> >> ---------------------------------
> >> XCOM AG
> >> Qualitätsmanagement Banksystem Backend
> >> Rechnungswesen, Meldewesen, Steuern
> >> Rennweg 60
> >> Haus 2
> >> 56626 Andernach
> >>
> >> Telefon  +49 2632 9899-158
> >> Telefax  +49 2632 9899-010
> >> [email protected]
> >> http://www.xcom.de
> >>
> >> *** XCOM AG Legal Disclaimer ***
> >>
> >> Diese E-Mail einschliesslich ihrer Anhaenge ist vertraulich und ist
> allein für den Gebrauch durch den vorgesehenen Empfaenger bestimmt. Dritten
> ist das Lesen, Verteilen oder Weiterleiten dieser E-Mail untersagt. Wir
> bitten, eine fehlgeleitete E-Mail unverzueglich vollstaendig zu loeschen
> und uns eine Nachricht zukommen zu lassen.
> >>
> >> This email may contain material that is confidential and for the sole
> use of the intended recipient. Any review, distribution by others or
> forwarding without express permission is strictly prohibited. If you are
> not the intended recipient, please contact the sender and delete all copies.
> >>
> >> Hauptsitz: Allee 8, D-47877 Willich, USt-IdNr.: DE 812 885 664
> >> Kommunikation: Telefon +49 2154 9209-70, Telefax +49 2154 9209-900,
> www.xcom.de
> >> Handelsregister: Amtsgericht Krefeld, HRB 10340
> >> Vorstand: Dirk Franzmeyer, Marco Marty, Dirk Werner, Sascha Bochartz
> >> Vorsitzender des Aufsichtsrates: Stefan H. Tarach
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to