Q: Can I generate a map from an XML Schema?
Applies to: 1.x, 2.0
XML-DBMS does not currently support this functionality.
If you are using version 1.x, you can download Tobias Schilgen's map factory for XML Schemas. Please note that this package is unsupported.
If you are using version 2.0, you will need to either convert your XML Schema to a DTD and then use the MapManager tool, or write your own map factory. Such a map factory would parse an XML Schema document, create a series of objects that model the schema, and then traverse these objects to build the map. The schema objects can be created with a package such as Ecliplse's XML Schema Infoset Model. The map factory would use the mapping defined in Mapping W3C Schemas to Object Schemas to Relational Schemas and could be modeled on the existing MapFactory_DTD class. If you do write such a factory, please post it back to the list for others to use.