Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
XML file to Cursor
Message
De
22/11/2006 05:09:55
 
 
À
22/11/2006 01:46:41
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
01170611
Message ID:
01171678
Vues:
14
>>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.


Hi Aleksey,

how about if i want to back the cursor to xml format? because i have a 3 cursor("adminfo","row1","row") to the same format of xml that we convert from xml to cursor?


thanks
ryan.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform