Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank Cursor in FoxPro
Message
From
04/11/2005 11:19:05
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01065321
Message ID:
01065471
Views:
17
Thanks Sergey, it worked perfectly.

Aloha,

James

>You can extract schema from XML and use it to create empty cursor.
>lcXmlFile = "Whatever.xml"
>lcXmlSchema = STREXTRACT(FILETOSTR(lcXmlFile), "", "</xsd:schema>",1,4) + "</VFPData>"
>? XMLTOCURSOR(lcXmlSchema,"crsXml")
>
>>
>>I have an XML file that has the XSD schema in the beginning of the file. The file is created with the CursorToXML() function.
>>
>>Is there anyway for me to get a blank cursor using that embedded schema without loading the entire file.
Previous
Reply
Map
View

Click here to load this message in the networking platform