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

From: Nikolai Grigoriev (grig@renderx.com)
Date: Wed Jul 21 2004 - 14:45:43 PDT

  • Next message: Werner Donné: "[xep-support] XEP 3.8.1: Asymmetry in space resolution of list-block"

    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



    This archive was generated by hypermail 2.1.5 : Wed Jul 21 2004 - 15:01:17 PDT