Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XML file to Cursor
Message
From
22/11/2006 01:46:41
 
 
To
21/11/2006 21:32:50
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01170611
Message ID:
01171639
Views:
13
>Hi aleksey,
>
> I just noticed it now, the docdate and docduedate became "Memo" instead of "20061113" and the other fields with text value became "Memo" in the cursor? is it posible retain their original value?
>
>Thanks,
>ryan

Well, those elements are defined in the schema as follows:
<element name="DocDate" type="string" minOccurs="0" /> 
<element name="DocDueDate" type="string" minOccurs="0" /> 
Note the type is string without maxLength restriction? Elements like this are mapped to Memo fields by default. However, I am pretty sure Memo fields retain original values. If you want those elements to be mapped to Character fields, either modify the XSD schema to include maxLength restrictions or modify DataType and MaxLength properties for corresponding XMLField objects (see message #1091626 for example).

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform