W3C home > Mailing lists > Public > www-xsl-fo@w3.org > January 2009

Re: How to mix portrait and landscape in one document

From: Florent Georges <lists@fgeorges.org>
Date: Wed, 28 Jan 2009 10:58:58 +0100 (CET)
To: roger@senanque.co.nz, www-xsl-fo@w3.org
Message-ID: <482996.40243.qm@web23003.mail.ird.yahoo.com>

Roger Parkinson wrote:

  Hi,

> This matches my <landscape> tag and everything inside that
> isrendered in landscape mode using the page-sequence-master
> "landscape" We have to interrupt the main flow and
> page-sequence for this to work,and that means using

>
<xsl:textdisable-output-escaping="yes"><![CDATA[</fo:flow></fo:page-sequence>]]></xsl:text>

> because, of course, the style sheet would not be valid XML
> otherwise.We restore the flow (or make a new one similar) after
> the landscape tagis done.

  Please don't do that!  There are other techniques than using
DOE.  As this is an XSLT question, it is best asked on XSL List
at Mulberry Tech.  As a clue, maybe you want to use grouping...

  Regards,

-- 
Florent Georges
http://www.fgeorges.org/

























      
Received on Wednesday, 28 January 2009 09:59:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 January 2009 09:59:39 GMT