Nп/п : 9 из 37
 От   : ObiWan                              2:5075/128        25 авг 23 11:37:49
 К    : Accu Backup                                           25 авг 23 12:39:02
 Тема : Re: Anyone know how read XML?
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <20230825113749.00003ea6@mvps.org.invalid>
94bd3629
@REPLY:
<d8705cd6-a647-4f5c-92e7-4746e79a5448n@googlegroups.com> 1d079932
@REPLYADDR ObiWan <obiwan@mvps.org.invalid>
@REPLYTO 2:5075/128 ObiWan
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
<20230825113749.00003ea6@mvps.org.invalid>
<0c640188-cdf2-421e-aca2-583457644423n@googlegroups.com> -fb2fcde550aan@googlegroups.com><24c250df-8e59-4af9-b5bf-d17f6a92a6e4n@googlegro
ups.com><20230414171132.00006d23@mvps.org.invalid><5cf1be47-7a74-42fa-b012-9e0c1
67ae58en@googlegroups.com><1c082c0f-fad1-4a99-834b-22db0cc3c815n@googlegroups.co
m><20230822174909.00004e84@mvps.org.invalid> 8n@googlegroups.com>
@TZUTC: 0200
@TID: FIDOGATE-5.12-ge4e8b94
:: On Thu, 24 Aug 2023 10:59:00 -0700 (PDT)
:: (microsoft.public.vb.general.discussion)
:: <d8705cd6-a647-4f5c-92e7-4746e79a5448n@googlegroups.com>
:: Accu Backup <accubackup1@gmail.com> wrote:

> 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?

Doesn`t "DOM to SAX" tell you something ? The example shows how to feed
a SAX parser from a DOM document, and the latter LOADS THE ENTIRE file,
in your case you don`t need to do that, you just use this

https://learn.microsoft.com/en-us/previous-versions/windows/desktop/ms767671(v=v
s.85)

letting the SAX directly read the XML in pieces and raise an event
whenever it finds a node, in practice, with DOM you have the whole
document loaded and parsed and you can just issue searches for some
specific node, while in SAX you go through the whole document as a
stream of data and react to the events raised when a node is found

but given your question, I`m guessing that you don`t have a good grip
on XML and parsers, so my suggestion is to document yourself a bit, to
avoid hitting some wall :)




--- FIDOGATE 5.12-ge4e8b94
 * Origin: To protect and to server (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



   GoldED+ VK   │                                                 │   09:55:30    
                                                                                
В этой области больше нет сообщений.

Остаться здесь
Перейти к списку сообщений
Перейти к списку эх