Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XMLAdapter and Lead spaces.
Message
De
26/09/2005 09:01:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Titre:
XMLAdapter and Lead spaces.
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01052997
Message ID:
01052997
Vues:
50
Hi,
I have problem with XMLAdapter and field which begins from SPACE(1) (for example " Denis")

When I do
loXMLAdapter = Createobject("XMLAdapter")
loXMLAdapter.AddTableSchema("TableAlias")
loXMLAdapter.ToXML("lcXML")
STRTOFILE(lcXML,PUTFILE("","","xml"))

Then I open XML File.. and in my XML - No spaces before.. seems AddTableSchema Trimming string fields. When I convert XML back to cursor.. all lead spaces losted. Any solution, how to avoid trim of string field?

(VFP8 SP1)
Thanks.
Denis.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform