473,434 Members | 1,521 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,434 software developers and data experts.

using xsl/fo - alternatives to Apache FO

Would like to get feedback on a process we do, as well as suggested
alternatives.

We produce a software for the airline biz... One of the features is
take take aircraft OEM provided SGML/XML data, mix it with data from
our own application, and show a PDF print of it. We save our own data
as xml, merge it with the OEM xml data, and use a stylesheet to control
how we want it to look. We use Apache FOP to turn it into a PDF.

Functionally, it works great... It does everything we want, and we've
gotten used to the XSL coding. The problem is, the speed.... Many
times, many of these need to be printed in succession. Or, even when
just printing one at a time... The Apache FOP processer just takes long
to convert it to PDF.

My first question is... can someone suggest any alternative processors
for this purpose? I know I can search for them, but I'd like a specific
recommendation for this specified need. My preference would be one in C
or C++, only because I *think* that would make it perform faster.

I'd also welcome any feedback, in general, to what/how we do this
process.

Nov 28 '06 #1
8 5982
Some general information ...

Try RenderX XEP: http://www.renderx.com/ - It's also supported in
Stylus Studio: http://www.stylusstudio.com/renderx/xep.html - we have
some design tools that might be useful for XML-to-PDF related work -
http://www.stylusstudio.com/xml_to_pdf.html

Sincerely,
The Stylus Studio Team
http://www.stylusstudio.com/
Da*******@gmail.com wrote:
Would like to get feedback on a process we do, as well as suggested
alternatives.

We produce a software for the airline biz... One of the features is
take take aircraft OEM provided SGML/XML data, mix it with data from
our own application, and show a PDF print of it. We save our own data
as xml, merge it with the OEM xml data, and use a stylesheet to control
how we want it to look. We use Apache FOP to turn it into a PDF.

Functionally, it works great... It does everything we want, and we've
gotten used to the XSL coding. The problem is, the speed.... Many
times, many of these need to be printed in succession. Or, even when
just printing one at a time... The Apache FOP processer just takes long
to convert it to PDF.

My first question is... can someone suggest any alternative processors
for this purpose? I know I can search for them, but I'd like a specific
recommendation for this specified need. My preference would be one in C
or C++, only because I *think* that would make it perform faster.

I'd also welcome any feedback, in general, to what/how we do this
process.
Nov 28 '06 #2
You might want to consider another rendering path. For example, some
folks have used XMLified versions of TeX/LaTeX markup (the earliest of
those was TeXML, but I think I've seen mention of several others), which
would then be processed into TeX or LaTeX and run through the
appropriate engines to get a PDF from that. I'm not sure whether that
would actually be any faster, but it might be worth trying for comparison.

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Nov 28 '06 #3
I don't suppose that you can tell me, from experience, that RenderX
performs faster that Apache FOP? I looked at it and saw it was also
developed in Java. But, I suppose I will try it...

On Nov 28, 2:59 pm, "Stylus Studio" <stylusstu...@gmail.comwrote:
Some general information ...

Try RenderX XEP:http://www.renderx.com/- It's also supported in
Stylus Studio:http://www.stylusstudio.com/renderx/xep.html- we have
some design tools that might be useful for XML-to-PDFrelated work -http://www.stylusstudio.com/xml_to_pdf.html

Sincerely,
The Stylus Studio Teamhttp://www.stylusstudio.com/

DarthL...@gmail.com wrote:
Would like to get feedback on a process we do, as well as suggested
alternatives.
We produce a software for the airline biz... One of the features is
take take aircraft OEM provided SGML/XML data, mix it with data from
our own application, and show aPDFprint of it. We save our own data
as xml, merge it with the OEM xml data, and use a stylesheet to control
how we want it to look. We use Apache FOP to turn it into aPDF.
Functionally, it works great... It does everything we want, and we've
gotten used to the XSL coding. The problem is, the speed.... Many
times, many of these need to be printed in succession. Or, even when
just printing one at a time... The Apache FOP processer just takes long
to convert it toPDF.
My first question is... can someone suggest any alternative processors
for this purpose? I know I can search for them, but I'd like a specific
recommendation for this specified need. My preference would be one in C
or C++, only because I *think* that would make it perform faster.
I'd also welcome any feedback, in general, to what/how we do this
process.
Nov 28 '06 #4
Interesting... I wish I had known of this one before doing XSL-FO
stylesheets. It seems that this rendering method is more suited to our
specified need that Apache-FO. Unfortunately it seems it will require a
"re-write" of how we do the stylesheet.
>From what I see, it is developed in Perl. Does that make it inherently
faster than Apache FO, which is done in Java?
I will try this, thanks

On Nov 28, 3:00 pm, Joseph Kesselman <keshlam-nos...@comcast.net>
wrote:
You might want to consider another rendering path. For example, some
folks have used XMLified versions of TeX/LaTeX markup (the earliest of
those was TeXML, but I think I've seen mention of several others), which
would then be processed into TeX or LaTeX and run through the
appropriate engines to get aPDFfrom that. I'm not sure whether that
would actually be any faster, but it might be worth trying for comparison.

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Nov 28 '06 #5
Da*******@gmail.com wrote:
Interesting... I wish I had known of this one before doing XSL-FO
stylesheets.
I'm not recommending the TeXML-like approach as necessarily being better
than going through FOP -- I haven't compared the two since about three
years ago! -- just pointing out that if you really can't find a fast
enough XSL-FO processor this might be another path to investigate.

Theoretically, FOP *ought* to be able to achieve reasonable speed. Java
is *not* always inherently slower than other languages; it depends on
what JVM you're using, whether you're paying JIT overhead every time
(rather than keeping a copy of the classes loaded), and whether the code
happens to hit one of Java's bottlenecks injudiciously. I haven't looked
at FOP in anywhere near enough detail to have any opinion re whether
it's performing as well as it possibly could.

(But debate about Java should probably be taken to a Java or
programming-language newsgroup, since it's something of a religious war.)

--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
Nov 28 '06 #6
Hello,

"""Joseph Kesselman ÐÉÓÁÌ(Á):
"""
Da*******@gmail.com wrote:
Interesting... I wish I had known of this one before doing XSL-FO
stylesheets.
I'm not recommending the TeXML-like approach as necessarily being
better than going through FOP -- I haven't compared the two since
about three years ago!
If you find time to compare, here are some links:

TeXML was recently updated:
http://getfo.org/texml/

Consodoc, a framework on top of TeXML is released:
http://consodoc.com/
just pointing out that if you really can't find a fast enough XSL-FO
processor this might be another path to investigate.
Meanwhile, it's possible that the problem isn't the speed of the XSL-FO
processor, but the speed of the XSLT processor (or, most likely, the
stylesheet). Therefore, changing the FO processor doesn't help.
>
--
Joe Kesselman / Beware the fury of a patient man. -- John Dryden
--
Oleg Parashchenko olpa@ http://uucode.com/
http://uucode.com/blog/ Generative Programming, XML, TeX, Scheme

Nov 30 '06 #7
Oleg Paraschenko wrote:
Meanwhile, it's possible that the problem isn't the speed of the XSL-FO
processor, but the speed of the XSLT processor (or, most likely, the
stylesheet). Therefore, changing the FO processor doesn't help.
Change "therefore" to "if so"... I'm assuming the original poster had
already checked that before asking specifically about the XSL-FO layer.

If XSLT is the bottleneck in your process, you may want to try
compiled-stylesheet solutions such as the XSLTC mode of Apache Xalan.

(This doesn't sound like the kind of problem where my first
recommendation would be a hardware assist such as the Datapower boxes,
but that depends in part on just how many of these you're churning through.)

--
() ASCII Ribbon Campaign | Joe Kesselman
/\ Stamp out HTML e-mail! | System architexture and kinetic poetry
Nov 30 '06 #8
Da*******@gmail.com wrote:
Would like to get feedback on a process we do, as well as suggested
alternatives.

We produce a software for the airline biz... One of the features is
take take aircraft OEM provided SGML/XML data, mix it with data from
our own application, and show a PDF print of it. We save our own data
as xml, merge it with the OEM xml data, and use a stylesheet to control
how we want it to look. We use Apache FOP to turn it into a PDF.

Functionally, it works great... It does everything we want, and we've
gotten used to the XSL coding. The problem is, the speed.... Many
times, many of these need to be printed in succession. Or, even when
just printing one at a time... The Apache FOP processer just takes long
to convert it to PDF.

My first question is... can someone suggest any alternative processors
for this purpose? I know I can search for them, but I'd like a specific
recommendation for this specified need. My preference would be one in C
or C++, only because I *think* that would make it perform faster.
I use XSLT to generate LaTeX code from XML text, and then run pdfLaTeX
to produce PDF. I find this is faster, easier to program, and produces
better quality typography than any of the XSL:FO methods.

///Peter
--
XML FAQ: http://xml.silmaril.ie/
Dec 2 '06 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jurrie | last post by:
Hi all, I use apaches FOP to translate an XML-document into a PDF-document. I use repeatable-page-master-alternitives, but FOP gives some strange errors: Unsupported element encountered:...
5
by: webguynow | last post by:
I like Smarty but I may have to design something similar myself, bc I'm having trouble getting it installed on my Shared WebHost. There are good examples out there. One on CodeWalkers...
6
by: Notgiven | last post by:
I am considering a large project and they currently use LDAP on MS platform. It would be moved to a LAMP platform. OpenLDAP is an option though I have not used it before. I do feel fairly...
5
by: ddtbhai | last post by:
Hello all, I selected Pathan recently to add basic XPath query support for an application. However, the site gives me an impression of "abandonware" as the latest release has been in beta for...
1
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc...
1
by: kommaraju | last post by:
iam a starter to db2 & jdbc.i have a servlet program which connects to ibm db2 using jdbc.when i run this using apache tomcat 4.1.34 , it is showing a error message of HTTP STATUS 500 my jdbc...
2
by: Velochicdunord | last post by:
Hi everyone, I've been lurking for two weeks now, learning as much as I can about CSS. Still in the bottom half of the curve, but looking to figure out how to do more stuff. I've just tossed...
8
by: ajos | last post by:
hi frnds, im trying to convert my servlets database configuration from ms access to mysql database.however im getting some error like no driver found exception. to verify this error ive...
3
by: arasub | last post by:
ep 20, 2007 11:25:57 AM org.apache.catalina.core.AprLifecycleListener lifecycleEvent INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.