Nп/п : 12 из 37
 От   : Newyana2                            2:5075/128        25 авг 23 08:11:03
 К    : Accu Backup                                           25 авг 23 15:36:46
 Тема : Re: Anyone know how read XML?
----------------------------------------------------------------------------------
                                                                                 
@MSGID: 1@paganini.bofh.team>
45fbb092
@REPLY:
<877e2be8-725d-4849-9c7c-4ea2adc83303n@googlegroups.com> 474b4f31
@REPLYADDR Newyana2 <Newyana2@invalid.nospam>
@REPLYTO 2:5075/128 Newyana2
@CHRS: CP866 2
@RFC: 1 0
@RFC-Message-ID:
1@paganini.bofh.team>
@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> <d8705cd6-a647-4f5c-92e7-4746e79a5448n@googlegroups.com>
<20230825113749.00003ea6@mvps.org.invalid> <20230825113913.000017cb@mvps.org.invalid>
<877e2be8-725d-4849-9c7c-4ea2adc83303n@googlegroups.com>
@TZUTC: -0400
@TID: FIDOGATE-5.12-ge4e8b94
"Accu Backup" <accubackup1@gmail.com> wrote

>
Thanks for this info.  You are right, I don`t have a good grip on XML and 
parsers.  As I wrote in an earlier post, this was the first time I was able 
to successfully read an XML file after many, many unsuccessful attempts over 
the past 5 or 6 years.  Now that I am able to, the file is too large for it 
to work.  I understand the concept of reading it in pieces but those 
Microsoft pages are written for someone with much more experience and 
knowledge of programming.  I`m a novice at this.  They are not showing a 
clear example similar to my case.
>

  My advice would be to fire the clown who thought
there was no need to limit file size. :)

  Aside from that, I can think of some other options.
A native RichEdit might do it. I`ve never tested anything
like 300 MB, but they load files very fast. Another option
might be to load it yourself in byte form, perhaps part
of it at a time, then either tokenize it or do a basic instr
operation. XML is not rocket science. It doesn`t
require a special library. You look for " look for " from that point. If you find both then
you parse the lines in between. A bit tedious, but not hard.
And instr is incredibly fast, especially if you ucase or lcase
the parent string first. 


--- Microsoft Outlook Express 6.00.2900.5512
 * 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    
                                                                                
В этой области больше нет сообщений.

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