Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XMLTOCURSOR() function with no schema
Message
From
02/11/2005 09:36:58
Mike Cole
Yellow Lab Technologies
Stanley, Iowa, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
XMLTOCURSOR() function with no schema
Environment versions
Visual FoxPro:
VFP 7 SP1
Miscellaneous
Thread ID:
01064451
Message ID:
01064451
Views:
101
Hello,
I am currently doing an XMLTOCURSOR() function in my application on an XML document that has no schema, and I can't add a schema to it. The problem I am having is that there is a field in there that I want to be numeric, but the values have 0's in it, therefore VFP thinks it is Logical.

Is there any way I can define a structure for the XML file in my code, since it will never change? Or can I perform an XMLTOCURSOR() to an already created cursor with defined data types? I am reading the help file but I can't come up with an answer from it.

Thanks in advance!

MAC
Very fitting: http://xkcd.com/386/
Next
Reply
Map
View

Click here to load this message in the networking platform