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:
01150040
Views:
31
Hi Hugh,

I guess I misunderstood you. I thought that you have XML schema but separate from XML file.
You're correct that XMLAdapter will create XMLTables only if XML schema is provided.

>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??
>
>
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform