File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

STX (Joost) and XSL-FO

Anonymous
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
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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: http://aspose.com/file-tools
 
subject: STX (Joost) and XSL-FO
 
Similar Threads
xml mathml pdf FOP
Fit data in a PDF page
xml to pdf
Apache FOP
Xml + Xsl to PDF