You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Matthew Cordes <mc...@maine.edu> on 2000/06/21 19:54:50 UTC
Re: XSL -> HTML
William,
You should post your code, but I bet you're right about the xsl:value-of.
-matt
On Wed, Jun 21, 2000 at 08:10:10PM +0200, Wm. G. Urquhart wrote:
> Hi All,
>
> I have a form that allows the user to enter free form text using a
> standard <textarea> html tag. However, when the same information is
> displayed in a <textarea> for editing it has an extra CR+LF. For example
> if you enter:
>
> Hello world.
> Goodbye world.
>
> It gets displayed as:
>
> Hello world.
>
> Goodbye world.
>
> I've tried usig every setting there is for the WRAP attribute but to no
> avail. I have the feeling that the problem lies in the XSL <value-of>.
> Any ideas?
>
> TIA
>
> William.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-users-help@xml.apache.org
>
Re: XSL -> HTML
Posted by Gabor Dolla <ag...@mezon.net>.
> > I have a form that allows the user to enter free form text using a
> > standard <textarea> html tag. However, when the same information is
> > displayed in a <textarea> for editing it has an extra CR+LF. For example
> > if you enter:
I have the same experience, I replace \r\n to \n before xsl translation
which helps
Gabor