This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Command line parameter in FOP?


Simon wrote:
> Just wondering if anyone knows if command line parameters can 
> be used in the
> FOP command line (like -param in Xalan)? FOPs one stage XML/XSL:FO
> translation to PDF is really nice and I want to be able to 
> build a dynamic
> PDF based on a user click from a search type screen. I know I could
> translate my XML using XSL to XSL:FO (with something like 
> Xalan), then use
> FOP to build the PDF, but I want to avoid the double handling.
> 
Hi Simon,

>From what I can see in the code, this is not possible in the org.apache.fop.apps.Fop class. What's wrong with double handling? If you were to write a different class to do this, then you would still be doing the double handling under the covers. ie creating the XSL-FO and then passing that into FOP.

HTH,
Joshua

------------------------------------------------------------------------------
This message and any attachment is confidential and may be privileged or otherwise protected from disclosure.  If you have received it by mistake please let us know by reply and then delete it from your system; you should not copy the message or disclose its contents to anyone.





 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]