2009/1/27 Roger Parkinson <roger@senanque.co.nz>: > This is how I got it to work (and I'm happy to hear if there is a smarter > way, of course). > > <xsl:template match="landscape"> > <xsl:text > disable-output-escaping="yes"><![CDATA[</fo:flow></fo:page-sequence>]]></xsl:text> There has to be a better way than this. This is XML hackery pure and simple Roger. XSLT and XSL-FO work with trees, not hacked up text. If you sort out your source file (consider working one level higher) then perhaps you could write a set of elements and attributes as you have, but without the hackery? I.e. your match on landscape should produce well formed XML? HTH -- Dave Pawson XSLT XSL-FO FAQ. Docbook FAQ. http://www.dpawson.co.ukReceived on Wednesday, 28 January 2009 10:44:07 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 28 January 2009 10:44:07 GMT