Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
External Schema
Message
From
13/08/2003 11:41:30
 
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Title:
Miscellaneous
Thread ID:
00819785
Message ID:
00819811
Views:
16
This message has been marked as a message which has helped to the initial question of the thread.
Hi Caroline,

Well, the first thing we need to know is what you want to do with them? <bg> The XML file contains data that is delimited with HTML tags. You can open it in any text reader (such as visual notepad) and look at the information contained. The schema file contains information that defines how the data in the tags should be interpreted (a little like a data dictionary).

To get a little better understanding why don't you go to http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnxml/html/understxml.asp

If your intention is to import the data to VFP tables, then how you approach it depends on the data contained in the XML file. If it is a simple flat file (not hierarchical) data, then you can use XMLToCursor() to bring it directly into a VFP cursor. If it is hierarchical, you will have to either use MSXML document parser to extract the information (for an example of this go to http://support.microsoft.com/default.aspx?scid=kb;en-us;254486) , or sometimes it is easier to just use VFP's string parsing functions to parse it out yourself (I often find this the easiest).

pamela

>I'm new to XML some one has provided me with an XML file and a Schema file could someone please tell me how I use these.
>
>Many thanks
>Caroline
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform