Here is the xml that my xsp page creates
- <task> <task-name>Change Bottles</task-name> <message-type>Amendment</message-type> <message-text>null<P toUpdate="1"><STRONG>Note</STRONG>:</P> <P>This is a test note. It links to <A href="http://www.kopent.com/vyzo">http://www.kopent.com/vyzo</A></P> <P> </P></message-text> <message-date>2003-07-15 16:16</message-date> <author>Admin,Vyzo</author> </task> In my pdf file the html tags are published through like plain text. I would like to do is to transform the html to the appropriate FO construct. I have tried to add more template matches like this: <xsl:template match="STRONG"> <fo:inline font-weight="bold"><xsl:apply-templates/></fo:inline> </xsl:template> but that does not work. Tim Bachta -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 11:13 AM To: [EMAIL PROTECTED] Subject: Re: Embedded html in xml tags converting to pdf Tim Bachta wrote: > How would that work, the html tags are values of xml nodes, and the > template match looks at the xml nodes itself. Am I mistaken in this? The proposed solution would work with the XML you posted. It would really help if you either could rephrase your question in the standard XML vocabulary, or post an unadultered snipped of your source. Phrases like "the html tags are values of xml nodes" are usually associated with source like <message><![CDATA[<STRONG>This is a test</STRONG><a href="www.test.com">This is the test link</a>]]</message> As I said, if this is your problem, get the source fixed so that you have <message><STRONG>This is a test</STRONG><a href="www.test.com">This is the test link</a></message> instead. Don't try the "I can't do this" route, its rough. 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]
