File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes XML and Related Technologies and the fly likes STX (Joost) and XSL-FO Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "STX (Joost) and XSL-FO" Watch "STX (Joost) and XSL-FO" New topic

STX (Joost) and XSL-FO

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
This past week I have been investigating various options to transform data to XML to XSL-FO to Apache FOP (for creation of PDF reports). One of my main concerns is the ability to handle large quantities of data. A newer open source XML technology called STX, with an open source Java implementation called Joost, seems to be a promising way to handle such a situation. My question is this: because open source Apache FOP seems to require XSL-FO (aka XSLFO, XSLF) to generate suitable input, it appears at this point that this requirement needs XSLT. Since I understand at this point that STX is a replacement for XSLT, how do I transform XML for Apache FOP use? According to Joost, it is "able to pass its output to FOP for producing PDF output from a stream of XSLFO SAX events". This statement is a bit confusing to me; how does one get to XSL-FO without using XSLT? Any assistance is much appreciated.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Originally posted by Erik Gfesser:
how does one get to XSL-FO without using XSLT?

You take your input XML and your STX transformation code and push the virtual "transform" button -- the output should be an XSL-FO document and you haven't used XSL to get there.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: STX (Joost) and XSL-FO
It's not a secret anymore!