Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to compare refs to XMLDOM nodes in VFP?
Message
From
23/04/2007 20:42:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
How to compare refs to XMLDOM nodes in VFP?
Miscellaneous
Thread ID:
01219142
Message ID:
01219142
Views:
142
LOCAL oxml, e0, e1, e0N, e1P    
oxml = CREATEOBJECT('Msxml2.DOMDocument')    
oxml.loadXml( '<r><a/><x/></r>' )    
e0 = oxml.documentElement.childNodes.Item(0)    
e1 = oxml.documentElement.childNodes.Item(1)    
e0N = e0.nextSibling     
?e1.xml+' '+e0N.xml+' '+TRANSFORM(e1=e0N)&&Out <x/> <x/> F - Why? Bug?    
?e1.xml+' '+e0N.xml+' '+TRANSFORM(COMPOBJ( e1, e0N ))&&Out <x/> <x/> T - OK    
e1P = e1.previousSibling && NEED for next line effect
?e1.xml+' '+e0N.xml+' '+TRANSFORM(COMPOBJ( e1, e0N ))&&Out <x/> <x/> F - Why? Bug?
Next
Reply
Map
View

Click here to load this message in the networking platform