Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLAdapter and Lead spaces.
Message
From
26/09/2005 09:52:11
 
 
To
26/09/2005 09:01:11
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01052997
Message ID:
01053019
Views:
10
Denis,

>I have problem with XMLAdapter and field which begins from SPACE(1) (for example " Denis")... 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?

This might solve your problem:
loXMLAdapter.PreserveWhiteSpace = .T.
David Stevenson, MCSD, 2-time VFP MVP / St. Petersburg, FL USA / david@topstrategies.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform