Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to compare refs to XMLDOM nodes in VFP?
Message
De
23/04/2007 20:42:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
How to compare refs to XMLDOM nodes in VFP?
Divers
Thread ID:
01219142
Message ID:
01219142
Vues:
137
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?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform