cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <>
Subject Re: Embedded html in xml tags converting to pdf
Date Wed, 30 Jul 2003 18:41:03 GMT
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>
> is a test note.&nbsp; It links to <A
> href=""></A></P>
> <P>&nbsp;</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"/>
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
or as
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
in your template matching the P element, or do you use xsl:value-of


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message