Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Xmladapter with SAP schemas?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01118847
Message ID:
01119844
Vues:
29
Hi Ilmar,

I have no problem loading your XML into XmlAdapter in VFP9 and creating 23 cursors.
lcXmlFile = "..."     && file with your XML
oXA = CREATEOBJECT("XmlAdapter")
oXA.LoadXML(lcXmlFile, .T.)
? oXA.Tables.Count     && 24
FOR i=1 TO oXA.Tables.Count
	oXT = oXA.Tables.Item[i]
	IF oXT.Fields.Count > 0
 		oXT.Tocursor()
 	ELSE	
		? i, oXT.Alias 
 	ENDIF	
ENDFOR
>ok.. looks like we are not going to get a simpler xml..
>How would you handle something like the following?
>
<snip>
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform