cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcelo F. Ochoa" <moc...@ieee.org>
Subject Re: XSL -> HTML <textarea>
Date Wed, 21 Jun 2000 18:02:40 GMT
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?

  Try to put the content of the textarea inside of:<![CDATA[
.....free text ...
]]>

   This tag escape XML proccessing and formating.

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

   Regards, Marcelo.

Mime
View raw message