You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by "Stefan Hegny (hydrografix Consulting GmbH)" <he...@hydrografix.com> on 2016/07/22 14:09:08 UTC
XSLT param for FOP pdfprofile parameter
Hello,
would like to know if when calling fop (2.1) with -pdfprofile 'PDF/A-1a'
(e.g.)
this value is also somehow available to a xalan xslt transform that is
invoked
by fop when using -xsl stylesheet.xsl -xml input.xml. Or do I have to
declare
it in xslt manually somehow and set by -param mypdfprofile .. somehow.
Thx a lot & kind regards - Stefan
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
Re: XSLT param for FOP pdfprofile parameter
Posted by Andreas Delmelle <an...@telenet.be>.
Hi Stefan
> On 22 Jul 2016, at 16:09, Stefan Hegny (hydrografix Consulting GmbH) <he...@hydrografix.com> wrote:
>
> Hello,
> would like to know if when calling fop (2.1) with -pdfprofile 'PDF/A-1a' (e.g.)
> this value is also somehow available to a xalan xslt transform that is invoked
> by fop when using -xsl stylesheet.xsl -xml input.xml. Or do I have to declare
> it in xslt manually somehow and set by -param mypdfprofile .. somehow.
The latter, I'm afraid. The output format is only available to FOP itself, and not passed to the XSLT (pre-)processor.
That said, I don't think it would be too hard to build that into FOP as it uses JAXP, but given that our current PMC chair seems to be of the opinion that it was a mistake to add support for XML+XSLT input as a convenience for the users in the first place, it could turn out to be a tough sell...
Cheers
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org