Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

Re: [iText-questions] Question about HTMLWorker

Paulo Soares

2007-06-19

Replies:

It's easier to process the html.

Paulo

----- Original Message -----
From: <mdcapurro@(protected)>
To: <itext-questions@(protected)>
Sent: Tuesday, June 19, 2007 9:44 PM
Subject: [iText-questions] Question about HTMLWorker


> 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.