Caron van Schalkwyk wrote:

Thanks for your quick response and help.

One last question:
Which do you recommend I use at this stage of iText development:
(extract from Example 6 and 7 of the tutoria)

SAXParser parser = SAXParserFactory.newInstance().newSAXParser();
parser.parse("Chap0702.html", new SAXmyHtmlHandler(document));
OR
HtmlParser.parse(document, "Chap0702.html");

I would subclass the SAXiTextHtmlHandler like is done in the first code snippet and use the handler in the html package that is used behind the screens in the second snippet for inspiration.
br,
Bruno


-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to