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

Re: Regarding loading fragments of a document.

From: Curt Arnold <carnold@houston.rr.com>
Date: Wed, 24 Oct 2001 09:17:23 -0500
Message-ID: <003401c15c96$9a407590$7600a8c0@CurtMicron>
To: "Santosh Moholkar" <moholkar@ncb.ernet.in>, <www-dom@w3.org>
From: "Santosh Moholkar" <moholkar@ncb.ernet.in>
>   I am using Microsoft's XML Parser.

Questions on a specific implementation should be asked in the appropriate
forum, in this case the newsgroup public.microsoft.xml (also available
through http://msdn.microsoft.com)

>   My question is..
>   Is there any way, by which I can load only
>   a part of a document in memory using load method.
>   of the "DOMDocument" interface.

I don't believe there is a practical way to have MSXML create a object model
for part of a document.  It is possible in parsers that layer DOM on top of
SAX (most likely candidate on Microsoft platforms would be Xerces-C) where
you can add a filter between the layers that discard parts of the document
you are not interest in.  Or you may be able to accomplish your objectives
using the SAX interfaces of MSXML.
Received on Wednesday, 24 October 2001 10:20:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT