- From: Shahed Moolji <shahed@enoor.com>
- Date: Wed, 8 Jan 2003 11:42:01 -0600
- To: <html-tidy@w3.org>
----- Original Message ----- From: "Shahed Moolji" <shahed@enoor.com> To: <html-tidy@w3.org> Sent: Wednesday, January 08, 2003 8:47 AM Subject: JTidy : Tidy & DOM - 2 steps ?? > Hi, > > I am using JTidy to build a DOM tree on an html document. > > The steps I take are > > 1. Clean the HTML using the Clean / lexer classes. > 2. Output the clean HTML document to a temporary file using the PPrint class > 3. Read back the file and build a DOM tree using Tidy.parseDOM. > > > This works, but it looks like unnecessary steps. > > Is there a better way to achieve this in 1 step ? > i.e Parse / Clean and build DOM all at once ? > > Thanks > Shahed > >
Received on Wednesday, 8 January 2003 12:27:00 UTC