I got the xml by using the cocoon-view=debug1. The pdf page shows exactly what is in the xml message-text node. And I do have apply templates for P and STRONG and A
Tim Bachta (913)693-0538 Office (913)486-5213 Mobile -----Original Message----- From: J.Pietschmann [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 1:41 PM To: [EMAIL PROTECTED] Subject: Re: Embedded html in xml tags converting to pdf Tim Bachta wrote: > 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> Did you get this by using a pipeline like <map:match ... > <map:generate (your xsp)/> <map:serialize type="xml"/> </map:match> i.e. directly dumping the XML produced by the XSP to the client? Do you get the content of message-text as a string from a DB or what? > In my pdf file the html tags are published through like plain text. Does it appear as <STRONG>Note</STRONG> or as Note in the output? Do you have templates matching message-text or P? > 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: Do you have an <xsl:apply-templates/> in your template matching the P element, or do you use xsl:value-of there? 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]
