Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make a XML schema inline with the data.

Status
Not open for further replies.

wsobers

IS-IT--Management
Dec 2, 2000
43
BB
I need to export data from a remote system to Fox to generate reports. I can generate a schema file and data files separately, but I want to be able to pass single file containing both schema and data.
Does anyone have an example of this? Or can someone point me in the right direction.

Wayne
 
Using the cSchemaname parameter set to '1' in CursorToXML() produces inline schema. Will that accomplish what you want?

pamela
 
Thanks for the reply,
I did some more research and got some information from here:
"that gave me exactly what I needed.
I am producing an XML file using another DB product to be loaded by Foxpro using the XMLAdapter class and I wanted everything - schema and data to be in a single file.
Thanks again

Wayne
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top