Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML datetime converted to {}
Message
 
 
To
08/10/2002 20:13:23
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
00709077
Message ID:
00709100
Views:
27
>>I'm getting some XML passed into my VFP COM component from as ASP.NET page. The XML has dates in the form
>>
>>
>><xs:element name="date_in" type="xs:date" />
>><date_in>2002-08-01T00:00:00.0000000-07:00</date_in>
>>
>>
>>When I use XMLTOCURSOR(tcRecord,"cRecord",4) the date (datetime) field above is interpreted as {} instead of {^2002/08/01}. Anyone know how to correct this?
>
>The schema is specifying a "date" datatype, but the data in the element is in the format for xsd:dateTime. Correct the schema to specify the dateTime datatype, and it should work fine.

I'd like to have a date, instead of datetime. I've tried to force ASP.NET to send back a date, but have failed so far.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform