Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Carriage Return removed while printing on
 PDF: XML parsing used to print

Abhishek

2006-08-07


bruno <bruno <at> lowagie.com> writes:

>
> Abhishek wrote:
>
> >data : my name is Abhishek , i am tring to print data
> >     but the data printed doesnt entertain the carriage return
> >
> >printed data on pdf:my name is Abhishek , i am tring to print data but the
> >data printed doesnt entertain the carriage return
> >
> >it doesnt take the enter i gave after the word "data";
> >
> Isn't this expected behavior in XML?
> The same goes for HTML.
> Put the same text in an HTML page and
> have a look at it in a browser: the newline
> (you are confusing carriage return with newline)
> is not taken into account either.
> br,
> Bruno


hi Bruno:
there is some data which i am trying to parse and which contains newline
characters i wish to retain the newline as it is demanded by the client .
what is the possiblity that i can retain it . i have tried replacing the "\n"
with <BR/> but it doesnt work


Abhishek

>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>





-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
©2008 junlu.com - Jax Systems, LLC, U.S.A.