Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
XSD from non-XSD XML file
Message
General information
Forum:
Visual FoxPro
Category:
XML, XSD
Miscellaneous
Thread ID:
01149256
Message ID:
01150038
Views:
25
Hi Sergey,

>>Does anyone know of a way to build an XSD from a non-XSD XML file??

>The XML schema doesn't have to be included in the XML.

hmmm... Not sure what I am doing wrong then.

I'm simply running the sample\solutionss application that shows off the features of the XMLAdapter class. From what I gather from the help file, when I load an XML file into the form I should see a list of tables and their contained fields -but apparently I only get the table list when I first include a schema.

Here's what the help file has to say about the class:

"XMLAdapter is a "two-way" class. You can import XML and its contained schema to create tables, or you can create and generate XML from tables."

Which is how it is working for me. Since I don't have an XML file with an embedded schema it is not generating a list of tables and contained fields.

Does anyone know of a way to build an XSD from a non-XSD XML file??

Hugh
Microsoft hears loudest what the VFP community says about Visual FoxPro by looking at the bottom line!

Support the product. Buy the latest version!

Hugh Winters @ WorldData 408-512-1131
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform