Vadim Gritsenko wrote:
>>From: Jean-Philippe Courson [mailto:[EMAIL PROTECTED]]
>>
>>Hi,
>>
>>Does anybody know how to tell cocoon not to add carriage returns
>>
> during
> 
>>xsl transformation ?
>>
>>For example when in an xsl file you write :
>>
>>alert('<xsl:value-of select="message"/>');
>>
>>You obtain
>>
>>alert('
>>messageValue
>>');
>>
>>that causes js errors.
>>
>  
> Cocoon has nothing to do with it. Your "message" tag has return
> characters inside it. Read on XSLT, there is a link on Cocoon website to
> the XSLT mailing list and FAQ (IIRC)
> 
> Vadim

Effectivelly, carriage returns were in my XSP :-(

Thanks for the reply.

JP


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to