473,385 Members | 1,333 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Dynamically generate DB structure from XML schema (XSD)

For my application I need to develop an interface with an external
organisation, based on XMLHTTP messaging.

Depending on the specific purpose of the communication, this external
organisation will send me various XML schemas (XSD documents)
specifying the structure for the message interfaces.

I need to be able to interpret these XSD documents and dynamically
generate my database structure based on that.
But... I don't have a clue where to start.

I use classic ASP with VBscript.

Any tips on how to go about this? Or maybe even some example code?

--
Marja Ribbers-de Vroed

Oct 5 '05 #1
5 2004
Marja Ribbers wrote:
For anyone else interested in this subject:

I received very useful information about how to deal with this in my post here: http://www.experts-exchange.com/Web/..._21585616.html


I must sign up!! damn.
Oct 6 '05 #2
MarjaR wrote:
For my application I need to develop an interface with an external
organisation, based on XMLHTTP messaging.

Depending on the specific purpose of the communication, this external
organisation will send me various XML schemas (XSD documents)
specifying the structure for the message interfaces.

I need to be able to interpret these XSD documents and dynamically
generate my database structure based on that.
But... I don't have a clue where to start.

I use classic ASP with VBscript.

Any tips on how to go about this? Or maybe even some example code?


Converting XMLSchema's to relational databases is a rather advanced
topic. if .. IF .. if you want to support all xml schema documents,

at my university they are researching a way to create a fast XML
Database ( not the old type of relational databases).
In the future i hope that xml databases can compete with the old
and fast relational databases.
Oct 6 '05 #3
Tjerk Wolterink wrote:

I must sign up!! damn.


In that case, bear in mind the site in question has a history
of spamming, even if the OP in this thread is genuine.

--
Nick Kew
Oct 6 '05 #4
> Converting XMLSchema's to relational databases is a rather advanced
topic. if .. IF .. if you want to support all xml schema documents,


The XML schemas I need to deal with have a fairly simple structure and
can most often be mapped to one DB table (one record layout). I don't
think it will be too
difficult in this case.

Oct 6 '05 #5
>> I must sign up!! damn.
In that case, bear in mind the site in question has a history
of spamming,


I'm sorry, I wasn't aware of that.

Oct 6 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Ben | last post by:
Due to my unfamiliarity with schemas, I am unable to figure out how to accomplish the same type of processing that I have currently working under a dtd. We have a pre-defined generic message...
0
by: Almoni | last post by:
Hi, I have a few .xsd files that include each other in the following way: <!-- lets call the main schema file AA.xsd and it includes BB.xsd inside it --> <xs:schema...
2
by: David Elliott | last post by:
I can create this: ?xml version="1.0" standalone="yes" ?> <ConfigOpt> <record> <Field_1>Text # 1</Field_1> <Field_2>Text # 2</Field_2> </record> </ConfigOpt>
3
by: rehveli | last post by:
Isn't it possible to generate .cs files from schemas, where one schema imports another, and both have the same namespace? If a.xsd and b.xsd have namespace "MyNameSpace", and in b.xsd I do...
2
by: PeterW | last post by:
I have an xml file from which I want to generate an xsd schema and at a later stage a cs class. The xml file has a mix of defined namespaces and also an empty namespace. These are defined as...
8
by: Phil Lee | last post by:
I'm sure this is possible but I just can't see how to do it. I want to add schemas to my solution and have C# classes automatically generated from them. I can see how to generate typed DataSet's...
2
by: Nathan Wiegman | last post by:
Hi, I am using the XSD utility to generate schemas for some of the classes that we serialize in our project. Everything works fine and dandy until I try and create a schema for a class that...
0
by: Richard Gregory | last post by:
Hi, I have the wsdl below, for an Axis web service, and when I select Add Web Refernce in Visual Studio the proxy is missing a class representing the returnedElementsType (see reference.cs below...
3
by: joshblair | last post by:
Hello, Has anyone ever seen or created such a code generator? I'm looking for a sample of a code generator that will generate code (preferably one that uses C# and the XMLTextWriter) to create...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.