DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25248>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=25248 XSL Parameter passing Summary: XSL Parameter passing Product: Fop Version: 0.20.5 Platform: PC OS/Version: Windows NT/2K Status: NEW Severity: Enhancement Priority: Other Component: general AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] I would be very helpful, if Apache FOP could handle XSL parameters (like XALAN's -PARAM attribute). I have some stylesheets with params, I'd like to process directly calling FOP without double handling (Transforming the XSL Stylesheet with XALAN first and pass the result to FOP): <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:n1="http://www.agere.com/qm/process" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <xsl:param name="base.dir" select="'.'"/> <xsl:param name="logo" select="concat($base.dir,'/','agere_logo.jpg')"/> ... The primitive call/usage could be something like this (copied from XALAN syntax): java org.apache.fop.apps.Fop -xml xmlfile.xml -xsl xslfile.xsl -pdf pdffile.pdf -param base.dir "C:/base/dir"