[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: SWT HTML browser component

yes it is an XML, XHTML procesor that gives you a better document model than DOM or if you really have to use DOM then you can easily manipute it using JDOM. In addition, only really misbehaved HTML like that produced by Word is a problem. You can easily apply JTidy or NekoHTML or TagSoup to clean up the HTML before creating a DOM.

Actually... this is what I have to do in my app. Haven't implement using the Browser widget but I still have to go through the above step before display the documents I deal with since I have to manipulate the document before dsiplaying. Still building the rest of the GUI so when I get to integrating the Browser widget I can let you know.

-H

Bernhard Fastenrath wrote:
Hugo A. Garcia wrote:

You could use JDOM. For more information go to http://www.jdon.org

-H


That's an XML parsing API which wouldn't even be usable as a preprocessor for most HTML pages in case you were trying to
suggest to parse the page before feeding it to the browser.


Accessing the DOM tree of the browser is, for example,
possible through
http://www.alphaworks.ibm.com/aw.nsf/html/weblets or
http://jrex.mozdev.org/