Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #12965

Re: XML parser based on MSXML.DOMDocument not working correctly

From nk <norbert.k@chello.at>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: XML parser based on MSXML.DOMDocument not working correctly
Date 2020-04-30 23:35 +0200
Organization Aioe.org NNTP Server
Message-ID <r8fgas$9sn$1@gioia.aioe.org> (permalink)
References <c7liafdkuvt779k7ra983ov3vvfenl5agr@4ax.com> <r8c9ci$ani$1@gioia.aioe.org> <kiujafhbjkueanshjrosgj1pbhhk256d9m@4ax.com>

Show all headers | View raw


Hello Dick,
it's been a long time since I dealt with this parser. I read out the 
entire xml-file recursively.

Look at the array, here should be the two elements listed. So you can 
evaluate the array.

If you send me a test-file I can try that.

Best regards
Norbert


Am 30.04.2020 um 00:21 schrieb D.J.W. van Kooten:
> Replying on message of Wed, 29 Apr 2020 18:18:27 +0200 from nk:
> 
> 
>   Hello Norbert,
> 
>> Hello,
>>
>> have you seen my XML-parser? With it I read out any XML-file and store
>> the values in an array. You can adjust it accordingly and store the
>> values directly in the database etc.
>> You can find an example at
>>
> I actually hadn't so that sounds promising. Thanks!
> 
> I saw it returned the whole tree of nodes, and elements in a DOS box.
> 
> One quick question. Could you maybe point me in the right direction if
> I want this:
> 
>              <sender>
>                  <name><![CDATA[Sendername Ltd]]></name>
>           </sender>
> 
>              <delivery>
>                  <name><![CDATA[Delivery name GmbH]]></name>
>           </delivery>
> 
> 
> Which method should I call to get element "name" from node delivery
> (where the MS method I used simply returned the name of sender.....)
> 
> Can I specifically fetch this name value by passing delivery and name
> to one of the functions?
> 
> Dick
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

XML parser based on MSXML.DOMDocument not working correctly D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2020-04-29 12:25 +0200
  Re: XML parser based on MSXML.DOMDocument not working correctly nk <norbert.k@chello.at> - 2020-04-29 18:18 +0200
    Re: XML parser based on MSXML.DOMDocument not working correctly D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2020-04-30 00:21 +0200
      Re: XML parser based on MSXML.DOMDocument not working correctly nk <norbert.k@chello.at> - 2020-04-30 23:35 +0200
        Re: XML parser based on MSXML.DOMDocument not working correctly D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2020-05-01 00:16 +0200

csiph-web