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

Donald Figer donald.figer at the401kcompany.com
Thu Jul 22 07:19:14 PDT 2004


Thanks. That works.

 -----Original Message-----
From: 	Nikolai Grigoriev [mailto:grig at renderx.com] 
Sent:	Wednesday, July 21, 2004 4:46 PM
To:	xep-support at 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 at 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 at 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



More information about the Xep-support mailing list