Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Question about HTMLWorker

mdcapurro

2007-06-19

Replies:


HI.

I have an html source like this:

<ul>
<li><p>bla bla bla</p></li>
<li><p>bla bla bla</p></li>
<li><p>bla bla bla</p></li>
</ul>

Because there are a <p>, the htmlworker, correctly, make a new line. But i need "delete" this new line.

I try using:

 if (e instanceof List){
                        .....
                         }

but i don't know how to "delete" the first new line inside the text.

Any help is welcome!!!!

Daniela
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.