Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML tags
Message
From
18/12/2000 13:26:52
Scott Barker
Barker Systems Consulting Ltd.
North Vancouver, British Columbia, Canada
 
 
To
18/12/2000 13:21:35
Scott Barker
Barker Systems Consulting Ltd.
North Vancouver, British Columbia, Canada
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00454746
Message ID:
00454748
Views:
22
Oops. My tag example got buried by the web-board's tag processing...pressing the reply button would show you where the original tag example was...

The .. for example should be...

Holding id="Holding_5056289" ... where this is encased in < >

Sorry for the confusion.

Scott

>Hi there.
>I'm just getting started on an XML upload that a client of mine has requested.
>
>Just as a test, I used coding with the DomDocument...as follows..
>
>lcXML = FileToStr("c:\_test\test2.txt")
>*** Use the IE DOM object
>DOM = CREATEOBJECT('msxml.DomDocument')
>DOM.ValidateOnParse = .f.
>DOM.LoadXML( lcXML )
>x = dom.documentelement.basename
>Base_Nodes = dom.documentelement.childnodes
>
>with Base_Nodes
>Num_L1_Nodes = dom.documentelement.childnodes.length
>
>for i = 0 to Num_L1_Nodes-1
>Base_Item = .item(i)
>
>
>
>This allows me to get to an item and it's corresponding value, but what I can't figure out is how to access ID#'s that are embedded in the tag, for example...
>
>
>
>How do I get to the id="Holding_5056289" ?? This item only shows as Holding
>
>Any help on this would be greatly appreciated.
>
>Thx, Scott
Previous
Reply
Map
View

Click here to load this message in the networking platform