Hello all! A relative newcomer to this field, am glad to be a part of the list. My question is regarding the issue of HTML tags in a CDATA field which get retained as Text when printed to the PDF in FOP. Yes I know this is not good practice, and generally defeats the purpose of having an XML structure. However in our case the DB which exports this XML cannot be changed... To give an idea, here is a snippet
<![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>]]> 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> Regards Tim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
