Hello Phillip and Richard,

thank you very much for sharing that information.
It works well.

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

-------- Original-Nachricht --------
*Betreff: *Re: [docbook-apps] FO File from DocBook5
*Von: *Phillip Kent <[email protected]>
*An: *Richard Hamilton <[email protected]>
*Kopie (CC): *Sascha Manns <[email protected]>, "Kallauch, Benjamin (EEIN)" <[email protected]>, "[email protected]" <[email protected]>
*Datum: *01.04.2015 12:10
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 <http://1.fo>

~/fop-1.1/fop -fo $1.fo <http://1.fo> -pdf $1.pdf

rm $1.fo <http://1.fo>


-Phillip

On Wed, Apr 1, 2015 at 8:37 AM, Richard Hamilton <[email protected] <mailto:[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] <mailto:[email protected]>



    On Mar 31, 2015, at 3:10, Sascha Manns <[email protected]
    <mailto:[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 <tel:%2B49%202632%209899-158>
    > Telefax +49 2632 9899-010 <tel:%2B49%202632%209899-010>
    >
    > [email protected] <mailto:[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
    <tel:%2B49%202154%209209-70>, Telefax +49 2154 9209-900
    <tel:%2B49%202154%209209-900>,
    > www.xcom.de <http://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]
    <mailto:[email protected]>>
    > An: Sascha Manns <[email protected]
    <mailto:[email protected]>>
    > Datum: 31.03.2015 12 <tel:31.03.2015%2012>: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]
    <mailto:[email protected]>]
    >> Gesendet: Dienstag, 31. März 2015 11:26
    >> An: [email protected]
    <mailto:[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 <tel:%2B49%202632%209899-158>
    >> Telefax +49 2632 9899-010 <tel:%2B49%202632%209899-010>
    >> [email protected] <mailto:[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
    <tel:%2B49%202154%209209-70>, Telefax +49 2154 9209-900
    <tel:%2B49%202154%209209-900>, www.xcom.de <http://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]
    <mailto:[email protected]>
    For additional commands, e-mail:
    [email protected]
    <mailto:[email protected]>



Reply via email to