struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From temp temp <>
Subject Re: new line char in xml
Date Thu, 26 Oct 2006 17:53:25 GMT
Here is my xml could you tell me how to put new line char?.
  Here is my xml
          <pop letter="
  You are requesting a one-year, no-cost extension to the period frrf of performance for agreement
number ? until  ?. \n 
  Retain this document in your official grant file.

Li <> wrote:  have you tried "\n"? it should work

On 10/27/06, temp temp  wrote:
>     I have some  text in xml file which I will   show in a text area to
> edit . I don't  know how to specify a new line char in xml. Currently I am
> using 
 tag  instead of a new line char .Using 
 works in jsp
>       but  a text area  displays them as 
 which would  confuse user
> .So I need to put  the new  line char in xml which will be  understood by
> the browser as new line  .Please somebody guide me how to put new line  char
> in xml.
>   regards
>   Miro
> ---------------------------------
> Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls.  Great
> rates starting at 1¢/min.

When we invent time, we invent death.

Yahoo! Messenger with Voice. Make PC-to-Phone Calls to the US (and 30+ countries) for 2¢/min
or less.
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message