Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Lowercase to Proper
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
Lowercase to Proper
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP3
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01584611
Message ID:
01584611
Vues:
58
Hi Gang!

In doing the following on a FREE table....
cFile = "d:\test\EmployeeXML.xml"
SELECT lookuptype as LookupType, lookupvalu as LookupValue, nabp as NABP ;
FROM loyalty ;
INTO CURSOR LoyaltyLookup
adapter = CREATEOBJECT("XMLAdapter")
adapter.AddTableSchema("LoyaltyLookup")
adapter.ToXML(cFile,,.T.)
I get the following XML.....
LoyaltyLookup
     lookuptype PHONE /lookuptype 
     lookupvalue 8885551234 /lookupvalue 
     nabp 1234567 /nabp 
/LoyaltyLookup
LoyaltyLookup
     lookuptype LOYALTY /lookuptype
     lookupvalue 123456789012 /lookupvalue 
     nabp 2222222 /nabp 
/LoyaltyLookup
LoyaltyLookup
     lookuptype LOYALTY_OLD /lookuptype 
     lookupvalue 987654321012 /lookupvalue 
     nabp 3333333 /nabp 
/LoyaltyLookup
How come does the LookupType, LookupValue, and NABP come out as lower case every time?

How can I overcome this and force it to be like how I want it to be?

Thanks!
Tommy Tillman A+ NetWork+ MCP
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform