At 2009-05-27 10:41 -0700, Kevin Brown wrote:
>The PIs should immediately precede or follow fo:root:
>
><?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:rx="http://www.renderx.com/XSL/Extensions">
><xsl:template match="/">
><?xep-pdf-ownerpassword password?>
><?xep-pdf-userprivileges annotate,print?>
><?xep-pdf-initial-zoom fit?>
><fo:root >
Forgive me for correcting you, Kevin, but I should point out for the
archive that a naked processing instruction in an XSLT stylesheet is
ignored, and that it is necessary to explicitly synthesize the
processing instructions in the result tree:
<xsl:processing-instruction name="xep-pdf-ownerpassword">password</
<xsl:processing-instruction name="xep-pdf-userprivileges">annotate,print</
<xsl:processing-instruction name="xep-pdf-initial-zoom">fit</
The same is true for naked comments in an XSLT stylesheet.
. . . . . . . . Ken
>The documentation for this is here:
>http://www.renderx.com/reference.html#Output_Formats
>
>"Instructions that pertain to an entire document should be placed at the top
>of the document, before or right after the <fo:root> start tag. Instructions
>that pertain to a single page of the documentation should be specified
>inside <fo:simple-page-master> object used to generate that page."
>
>Kevin Brown
>RenderX
-- XSLT/XSL-FO/XQuery hands-on training - Los Angeles, USA 2009-06-08 Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ Training tools: Comprehensive interactive XSLT/XPath 1.0/2.0 video Video lesson: http://www.youtube.com/watch?v=PrNjJCh7Ppg&fmt=18 Video overview: http://www.youtube.com/watch?v=VTiodiij6gE&fmt=18 G. Ken Holman mailto:gkholman@CraneSoftwrights.com Male Cancer Awareness Nov'07 http://www.CraneSoftwrights.com/s/bc Legal business disclaimers: http://www.CraneSoftwrights.com/legal ------------------- (*) To unsubscribe, send a message with words 'unsubscribe xep-support' in the body of the message to majordomo@renderx.com from the address you are subscribed from. (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/terms-of-service.htmlReceived on Wed May 27 14:14:11 2009
This archive was generated by hypermail 2.1.8 : Wed May 27 2009 - 14:14:13 PDT