Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Blank Cursor in FoxPro
Message
 
 
To
03/11/2005 22:35:39
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:
01065325
Views:
22
This message has been marked as the solution to the initial question of the thread.
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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform