J, Yes I want to transform the html to the appropriate FO construct, but how do I do that? Since the HTML is part of the xml output.
Tim Bachta -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 10:49 AM To: [EMAIL PROTECTED] Subject: Re: Embedded html in xml tags converting to pdf Tim Bachta wrote: > I am using cocoon to create a PDF file. The problem that I am having is > some of my xml contains embedded html tags. These tags are showing up > as plain text when my PDF is created, what I would like them to do is > show as their specific tag that is stated. Is there a way of doing > this? I'm not really sure whether I understand your problem. If you have the following: > <task> > <message><STRONG>This is a test</STRONG><a > href="www.test.com">This is the test link</a> > </task> and you want to have "This is a test" in bold face, you have to transform it into the appropriate FO construct, the same way you transform the rest of the source. If the "embedded HTML" is escaped, then you have to use some arcane magic which is only recommended to people who know which kind of demons they summon. It is better to get the source fixed instead. J.Pietschmann --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
