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.aspIf 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