Re: [xep-support] Processing instructions

From: Michael Sulyaev <msulyaev@renderx.com>
Date: Wed Nov 19 2008 - 02:44:42 PST

Mark Cilia Vincenti wrote:
> But if I want to pass on processing instructions, such as this:
> <?xep-pdf-initial-zoom 100%?>

Hello Mark,

This would work if you add it (literally) to an XSL FO input,

> I have no idea how to get about doing this. I've tried to place this in
> multiple places within the hammer.xsl file, to no avail. Any ideas please?

and in case of XML+XSL you need to create the processing instruction
properly in XSL:

msulyaev@lebuntu:~/XEP/examples/hammer$ diff -ubBr hammer.xsl
hammer.z100.xsl
--- hammer.xsl 2008-10-14 19:12:55.000000000 +0400
+++ hammer.z100.xsl 2008-11-19 13:35:39.000000000 +0300
@@ -63,6 +63,7 @@

  <xsl:template match="manual">
    <fo:root>
+ <xsl:processing-instruction
name="xep-pdf-initial-zoom">100%</xsl:processing-instruction>
      <fo:layout-master-set>

        <!-- First page: used for the title -->

, and this will produce the expected result in PDF.

Regards,
Michael Sulyaev
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/terms-of-service.html
Received on Wed Nov 19 03:11:05 2008

This archive was generated by hypermail 2.1.8 : Wed Nov 19 2008 - 03:11:12 PST