You'll need to create a parse that uses HTMLDocumentBuilder to construct an HTMLDocument. Otherwise, it will always constrct a Document.
The implementation of HTMLDocument is not a wrapper but rather extends the Xerces DOM. arkin Brett McLaughlin wrote: > > Hi- > > I'm unlcear on the best way to take an existing XHTML document and obtain > the DOM representation of that document as an org.w3c.dom.HTMLDocument. I > can get a DOM Document, but I get a ClassCastException casting it to > HTMLDocument (makes sense, really). However, I don't see any way to get it > to an HTMLDocument. I also see how to /create/ an HTMLDocument through > HTMLDocumentImplementation, but that's about all I can get. Any help is > appreciated. > > Thanks, > Brett > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- ---------------------------------------------------------------------- Assaf Arkin [EMAIL PROTECTED] CTO, Intalio Inc. www.intalio.com The Business Process Management Company (650) 345 2777 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
