views:

119

answers:

2

We have a large XML file with lots of data relationships and lots of data. Is there a way to generate a DB schema based on the relationships and then load the data into the schema?

+1  A: 

Just write an XSLT which would generate schema in SQL.
Then write another XSLT which would generate INSERT statements.

mindas
A: 

Stuff like this can be found on the Oracle OTN XMLDB Forum. This one is mentioned here: Generate XML Schema from oracle tables

Marco Gralike