W3C home > Mailing lists > Public > www-dom@w3.org > October to December 2001

Re: Regarding loading fragments of a document.

From: Joseph Kesselman <keshlam@us.ibm.com>
Date: Wed, 24 Oct 2001 09:17:27 -0400
To: Santosh Moholkar <moholkar@ncb.ernet.in>
Cc: www-dom@w3.org
Message-ID: <OF6C10A6E4.568DFF0D-ON85256AEF.00489483@pok.ibm.com>

Since you're using Microsoft's parser, I'd suggest you contact one of
Microsoft's support channels to find out what they can or can't do for you.
The DOM doesn't yet have an official answer for this, thought DOM Level 3's
Load/Save chapter is expected to address it.

(The closest thing to a general solution right now is to use a SAX parser,
run the SAX stream through a filter that selects only those portions of the
document you're interested in, and run the resulting filtered SAX stream
into a SAX-to-DOM builder.)

Joe Kesselman  / IBM Research
Received on Wednesday, 24 October 2001 09:18:12 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:09 UTC