You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Peter Sparkes <pe...@didm.co.uk> on 2005/10/14 18:53:27 UTC

sendmailtransformer email:body - newlines

Hi,

I can't work out how to put:

a.   newlines, tabs etc in the sendmailtransformer <email:body>
b.   html in the sendmailtransformer <email:body>

Help please

Peter Sparkes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: AW: sendmailtransformer email:body - newlines

Posted by Peter Sparkes <pe...@didm.co.uk>.
Thanks for the help.

However I was unable to use xslt within the CDATA section. I therefore 
did not use a CDATA section, but escaped all "<" in the HTML with "&lt;" 
and embedded normal xslt within the HTML, ie without escaping the xslt's 
"<". This worked OK

Peter


> Mark Lundquist wrote:
> On Oct 14, 2005, at 10:03 AM, Christofer Dutz wrote:
>
>> Funny ... just had the same Problem ... solved that by building a 
>> HTML-Mail
>> and escaping all the HTML in CDATA section ...
>
>
> Yup, that's what you have to do.  SendMailTransformer is crazy that way.
> —ml—
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: AW: sendmailtransformer email:body - newlines

Posted by Mark Lundquist <ml...@wrinkledog.com>.
On Oct 14, 2005, at 10:03 AM, Christofer Dutz wrote:

> Funny ... just had the same Problem ... solved that by building a 
> HTML-Mail
> and escaping all the HTML in CDATA section ...

Yup, that's what you have to do.  SendMailTransformer is crazy that way.
—ml—


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


AW: sendmailtransformer email:body - newlines

Posted by Christofer Dutz <du...@c-ware.de>.
Funny ... just had the same Problem ... solved that by building a HTML-Mail
and escaping all the HTML in CDATA section ... would be interested in any
good hints :)

Chris

-----Ursprüngliche Nachricht-----
Von: Peter Sparkes [mailto:peter@didm.co.uk] 
Gesendet: Freitag, 14. Oktober 2005 18:53
An: users@cocoon.apache.org
Betreff: sendmailtransformer email:body - newlines

Hi,

I can't work out how to put:

a.   newlines, tabs etc in the sendmailtransformer <email:body>
b.   html in the sendmailtransformer <email:body>

Help please

Peter Sparkes

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org