Nп/п : 19 из 37
 От   : Jim Mack                            2:5075/128        01 сен 23 09:23:47
 К    : Accu Backup                                           01 сен 23 16:25:02
 Тема : Re: Anyone know how read XML?
----------------------------------------------------------------------------------
                                                                                 
@MSGID: <oFKdncM5N4x9eGz5nZ2dnZfqn_idnZ2d@giganews.com>
d470f5b2
@REPLY:
<f4046b66-7001-40fe-8667-a246c4403dcdn@googlegroups.com> f079d165
@REPLYADDR Jim Mack <no-ube-uce@mdxi.com>
@REPLYTO 2:5075/128 Jim Mack
@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> <d8705cd6-a647-4f5c-92e7-4746e79a5448n@googlegroups.com>
<20230825113749.00003ea6@mvps.org.invalid> <20230825113913.000017cb@mvps.org.invalid>
<877e2be8-725d-4849-9c7c-4ea2adc83303n@googlegroups.com> 1@paganini.bofh.team>
<6aa51ffe-f4a3-46a4-a793-f971c42d26f5n@googlegroups.com> 1@paganini.bofh.team>
<bde707de-6b62-41b9-b198-a25c135762d2n@googlegroups.com> 1@paganini.bofh.team>
<f4046b66-7001-40fe-8667-a246c4403dcdn@googlegroups.com>
@RFC-Message-ID:
<oFKdncM5N4x9eGz5nZ2dnZfqn_idnZ2d@giganews.com>
@TZUTC: -0400
@PID: Mozilla/5.0 (Windows NT 6.1; Win64; x64;
rv:102.0) Gecko/20100101 Thunderbird/102.14.0
@TID: FIDOGATE-5.12-ge4e8b94
On 8/31/2023 11:40 AM, Accu Backup wrote:
> On Wednesday, August 30, 2023 at 11:27:47 PM UTC-4, Newyana2 wrote:
>> "Accu Backup" <accub...@gmail.com> wrote
>> Thanks, Newyana2. The string searching and Instr I understand. I just
>> don`t know how to get, in your example, [file string]. How do I load "file
>> string" with one parent node at a time? I can read this line-by-line till I
>> get to " >>>
>> No. You just load the whole file. If that`s not feasible
>> then load a section at a time. I suppose you could also
>> do it line by line, then parse what you`ve collected when
>> you hit  > 
 > Thanks. The file is about 300 MB so I can`t load the whole
file. I was hoping to find a way to load just one parent node at a
time.

300MB isn`t that large a file, but if it`s an issue for you, try memory 
mapping it. Plenty of examples if you search on that term -- I think 
Karl Petersen or Randy Birch has a complete one.

--

 --- Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.14.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



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

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