Tim S wrote:

<snip/>

<![CDATA[<P>Dies ist eine Seite nur mit einem Textbaustein...</P>

<P>aber jetzt kommt mal ganz viel Text da rein! aber jetzt kommt mal ganz
viel Text da rein! aber jetzt kommt mal ganz viel Text da rein! aber jetzt
kommt mal ganz viel Text da rein!</P>]]>

This is a pure XSLT question, and you would receive a faster better response on the XSLT Mulberry list.


I have tried to use the various "Hacks" including the ubiquitous
disable-output-escaping="yes", but they don't seem to work. I am at my wits
end... is there a way that the FOP renderer can recognize the data in CDATA
field as HTML text and print it to a PDF formatted?
A snippet of the XSLT code

<fo:block font-size="16pt" font-weight="bold" break-before="page"
font-family="Verdana,Arial,Helvetica" color="white" text-align="center"
space-after.optimum="5pt" line-height="22px" background-color="green">
<xsl:value-of disable-output-escaping="yes"
select="./ATTRIBUTES/[EMAIL PROTECTED]'title']"/>
</fo:block>

The only way I can of think to work around this problem using disable-output-escaping would be to execute the transform using Xalan and serialize the resulting FO file to disk. Then pass the reference to the FO file to FOP's API. This will work, because the tags in text will be parsed from disk as XML nodes, not as text.

I hope this makes sense,

Chris



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to