It can be faster if your FO generation code is very slow. :-) Seriously,
there's no hard rule that says one or the other is faster. XSLT can be
slow if done wrong but you can't say that using XML/XSLT is
automatically slower than any other approach. Generating FO directly
(i.e. hard-wired into an application) is considered bad practice as it
usually lacks flexibility and maintainability. XSL-FO is usually meant
to be used with XSLT, after all you can already see from the names that
they are coming from the same place. XSL-FO + XSLT = XSL. Some people
use Velocity or even JSP to generate FO.

It's probably better to analyze the FO you generate to find out if you
can trim it a little. The more efficient the FO the faster it can be
processed, i.e. it can also have an influence on how fast FOP can
process it.

On 18.01.2008 13:44:06 Dan F wrote:
> 
> I'm just wondering if I could squeeze more performance out of my PDF
> generation buy using XML/XSLT?
> 
> Right now, I create an FO file using server side code and feed that to the
> FOP engine.
> -- 
> View this message in context: 
> http://www.nabble.com/FO-vs-XML-XSLT---is-one-faster-than-the-other--tp14949362p14949362.html
> Sent from the FOP - Users mailing list archive at Nabble.com.



Jeremias Maerki


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to