Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I put this in a cursor?
Message
De
29/09/2003 11:26:40
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/09/2003 11:15:04
Information générale
Forum:
Visual FoxPro
Catégorie:
XML, XSD
Divers
Thread ID:
00833163
Message ID:
00833172
Vues:
29
>I created a form with an editbox where I was able to populate the edit box with the xml result. Now I need to convert this to a cursor. I try XMLTOCursor but I got many errors. This is part of what I get in the Edit Box:
>
>** ?xml version="1.0" ?>
>** caseinq>
>** case id="F0299999">
>** state_case>132002CF0195870001XX
>** /state_case>
>** name>
>** ![CDATA[FNAME, LNAME ]]>
>** /name>
>** date_filed>07/05/2002
>** /date_filed>
>** dob>04/25/1967
>** /dob>
>** aka>YES
>** /aka>
>** amt>0
>** /amt>
>** court_name>JUSTICE BUILDING
>** /court_name>
>** court_strt>1351 N.W. 12 ST
>** /court_strt>
>** alt_judge>
>** ![CDATA[ ]]>
>** /alt_judge>
>** /case>
>** /caseinq>
>
>The open bracket is not included to be able to send this message.
>Thank you for your help. Regards, Gabe.

I just tried and got no errors. One record matching XML.

PS: After copying your sample I did :
_cliptext = Strtran(_cliptext, '** ','<')
XMLToCursor(_cliptext,'myTest')
browse
If you wrap your sample with < pre >, < /pre > tags lt sign shows.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform