----------------------------------------------------------------------------------
@MSGID:
<d8705cd6-a647-4f5c-92e7-4746e79a5448n@googlegroups.com> 1d079932
@REPLY: <20230822174909.00004e84@mvps.org.invalid>
48494e36
@REPLYADDR Accu Backup <accubackup1@gmail.com>
@REPLYTO 2:5075/128 Accu Backup
@CHRS: CP866 2
@RFC: 1 0
@RFC-References:
<0c640188-cdf2-421e-aca2-583457644423n@googlegroups.com> <d0dfac9e-d413-490b-a595-fb2fcde550aan@googlegroups.com>
<24c250df-8e59-4af9-b5bf-d17f6a92a6e4n@googlegroups.com> <20230414171132.00006d23@mvps.org.invalid>
<5cf1be47-7a74-42fa-b012-9e0c167ae58en@googlegroups.com> <1c082c0f-fad1-4a99-834b-22db0cc3c815n@googlegroups.com>
<20230822174909.00004e84@mvps.org.invalid>
@RFC-Message-ID:
<d8705cd6-a647-4f5c-92e7-4746e79a5448n@googlegroups.com>
@TZUTC: -0700
@PID: G2/1.0
@TID: FIDOGATE-5.12-ge4e8b94
On Tuesday, August 22, 2023 at 11:49:16 AM UTC-4, ObiWan wrote:
> :: On Tue, 22 Aug 2023 04:29:05 -0700 (PDT)
> :: (microsoft.public.vb.general.discussion)
> :: <
1c082c0f-fad1-4a99...@googlegroups.com>
> :: Accu Backup <
accub...@gmail.com> wrote:
>
> > Well, I need to revisit this. My original goal was to read a large
> > xml file but I ended up shelving the idea because the file was almost
> > 300MB.
> If the file is large, you may use the "SAX" parser, in such a case you
> pass to the parser the pathname of the file and the parser starts
> reading it a piece at a time and parsing it, then every time it finds a
> node, it raises an event which your code will intercept, basically,
> instead of loading the whole file and have it parsed in memory, using
> SAX you parse it on the fly, so that allows to deal with very huge XML
> files
>
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms762677(v=v
s.85)
I tried the example on that site, "Overview of the DOM to SAX
Example". It just loads the entire file into a text box without showing how
to extract the data from the nodes. Am I missing something?
--- G2/1.0
* Origin: usenet.network (2:5075/128)
SEEN-BY: 5001/100 5005/49 5015/255 5019/40 5020/715
848 1042 4441 12000
SEEN-BY: 5030/49 1081 5058/104 5075/128
@PATH: 5075/128 5020/1042 4441