The demonstration example shows as in a XML-file received from a DBF-file it is possible to replace one names of fields on others, by using XSLT-transformation

Assignment of files:

- getxml.prg - an example of a VFP-code for obtaining a XML-file from a DBF-file (orders.dbf-> xml_data.xml)
- MakeConvert.prg - the example of a VFP-code for replacement of names of fields in a XML-file (xml_data.xml-> result.xml) thus is used conversion convert.xslt, and also a file replacements.xml, containing old/new names of fields
- MakeConvert.bat is a clone of execution XSLT-transformation with usage of the utility msxsl.exe
- convert.xslt - the code of XSLT-transformation using the information from replacements.xml
- replacements.xml - an example of the data old/new names of fields

What to make to try:

- Start getxml.prg if there will be nothing unexpected, you receive a file xml_data.xml (for a file orders.dbf from examples)
- Then start MakeConvert.prg (or MakeConvert.bat), on completion you should receive a file result.xml in which old fields are substituted on new according to data in a file replacements.xml

It is supposed, that for you it is installed:

- VFP 7.0 (or above)
- Microsoft XML Core Services (MSXML) 4.0/3.0 SDK

Best regards. 
Michael Drozdov, ISC Soft, Perm, Russia 
My Page: http: // vfpdev.narod.ru/
