CR LF -or- #0D #0A M- This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its conte ----- Original Message ----- From: "temp temp" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <user@struts.apache.org> Sent: Thursday, October 26, 2006 1:53 PM Subject: Re: new line char in xml
> Here is my xml could you tell me how to put new line char?. > > Here is my xml > > <amendment-letter> > <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. > "/> > </amendment-letter> > > > Li <[EMAIL PROTECTED]> 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.