XML to Database

W

worlman385

Since I am now using SQLXML to load XML file into a SQLServer
database.

Here is how it works -

XML(Data) + XSD(Schema) -->

through MS SQLXML COM program (EXE) -->

SQLServer2005

==================

I though XML Schema is used for defining what kind of Element or
attribute should appear in an XML document right?

But from above example, XSD schema can also used to describe how XML
document should be map to a Database table too???

Then XSD can be think of a document that describe how One want to
manipulate a specific XMLfile?

So, XSD schema to be used to describe anything about data manipulate
of an XML???

Above is the only use of XSD schema?
 
W

worlman385

Why not just use another XML to describe how to map data to database
table??

One can define a custom XML to describe on table mapping right??

Why one need to study the XSD schema syntax (which is very complex)
then use XSD to define the mapping to tables?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top