RE: [xep-support] I cannot get <?xep-postscript-page-device /Duplex true ?> to work for postscript

From: Donald Figer (donald.figer@the401kcompany.com)
Date: Thu Jul 22 2004 - 07:19:14 PDT

  • Next message: Alexander Peshkov: "Re: [xep-support] <fo:block-container absolute-position="absolute" left="168.429mm" top="81.5mm">filters-blend-01-b"

    Thanks. That works.

     -----Original Message-----
    From: Nikolai Grigoriev [mailto:grig@renderx.com]
    Sent: Wednesday, July 21, 2004 4:46 PM
    To: xep-support@renderx.com
    Subject: Re: [xep-support] I cannot get <?xep-postscript-page-device /Duplex true ?> to work for postscript

    Donald,

    > <xsl:template match="/">
    > <?xep-postscript-page-device /Duplex true?>
    > <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">

    This is a common mistake :-). You need the processing instruction to appear
    _in the resulting XSL-FO instance_, not in the stylesheet. Please try this way:

    <xsl:template match="/">
       <xsl:processing-instruction
             name="xep-postscript-page-device">/Duplex true</xsl:processing-instruction>
       <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
      ....

    Regards,
    Nikolai Grigoriev
    RenderX
    -------------------
    (*) 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/tos.html

    -------------------
    (*) 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/tos.html



    This archive was generated by hypermail 2.1.5 : Thu Jul 22 2004 - 07:36:00 PDT