Re: [XFC] .fo Template usage

2018-08-27 Thread Hussein Shafie

On 08/27/2018 11:37 AM, HOCHHUTH Björn Enders wrote:


I have a .fo template as a template stylesheet to convert a docBook file
to PDF.

I read a lot of documentation now but I didn´t find a solution. In one
users guide I read FO is supported but there is no description how to
use a FO file as a conversation template.

Can I transform FO file to XSL? Thanks a lot!



I'm sorry but I don't understand what you mean by ".fo template".

A ".fo" file is very rarely used a *template*. It's almost always an 
intermediate file which represents a *single*, *specific*, page layout.


Notice my words: *single*, *specific*; *template* implies that a ".fo" 
file could be used to create multiple page layouts.


In order to convert a ".fo" file to PDF, simply:

1) Make sure that you have a recent Java runtime (e.g Java 8+) installed 
on your computer.


2) Download and install Apache FOP. See 
https://xmlgraphics.apache.org/fop/2.3/


3) Run:

fop -fo XXX.fo -pdf XXX.pdf

See https://xmlgraphics.apache.org/fop/2.3/running.html



***
Please note that your question is not related AT ALL to our product 
"XMLmind XSL-FO Converter", http://www.xmlmind.com/foconverter/


Your question seems to be related to

1) XSL. May be it's about "2.3 Literal Result Element as Stylesheet" -- 
https://www.w3.org/TR/1999/REC-xslt-19991116#result-element-stylesheet 
-- a rarely used XSLT feature.


2) DocBook. May be you should post your question to the public mailing 
list: docb...@lists.oasis-open.org

***


--
XMLmind FO Converter Support List
xfc-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xfc-support


[XFC] .fo Template usage

2018-08-27 Thread HOCHHUTH Björn Enders
Good day,

I have a .fo template as a template stylesheet to convert a docBook file to PDF.
I read a lot of documentation now but I didn´t find a solution. In one users 
guide I read FO is supported but there is no description how to use a FO file 
as a conversation template.
Can I transform FO file to XSL? Thanks a lot!

Beste Grüße / Best Regards
Björn Enders

- Hardware & Systemtechnik -
Leitung Softwareentwicklung
---
ENERGY meets INNOVATION
---
[Beschreibung: cid:image001.png@01CE9381.32DE8070]
HOCHHUTH GMBH
ENERGY IN INDUSTRY
Industriepark Kalle-Albert
Gebaeude K 330 & H 287
Rheingaustr. 190-196
65203 Wiesbaden
Germany

Fon + 49 611 962 - 6869
Fax + 49 611 962 - 9470
Mobil +49 (151) 50627484
Mail b.end...@hochhuth.de

Jubiläum: 20 Jahre HOCHHUTH GmbH!
Weitere Informationen zu unseren Angeboten auf: 
www.hochhuth.de

www.hochhuth.de
CompanyMovie : www.hochhuth.de/unternehmensfilm

Wir sind auch bei Industrie 4.0 gelistet :)
http://www.plattform-i40.de/I40/Redaktion/DE/Anwendungsbeispiele/359-hochhuth-messdas/beitrag-hochhuth-messdas-energiemanagementsystem.html


--
XMLmind FO Converter Support List
xfc-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xfc-support