Red Hat Application Migration Toolkit
<?xml version="1.0"?> <!DOCTYPE databases PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.exolab.org/mapping.dtd"> <mapping> <class name="org.exolab.castor.xml.schema.simpletypes.factory.TypeList"> <description>built in type list</description> <map-to xml="TypeList" /> <field name="types" type="org.exolab.castor.xml.schema.simpletypes.factory.Type" collection="vector" > <bind-xml node="element" /> </field> </class> <!-- Mapping for Type --> <class name="org.exolab.castor.xml.schema.simpletypes.factory.Type"> <description>built in type info</description> <map-to xml="simpleType" /> <field name="name"> <bind-xml node="attribute"/> </field> <field name="code"> <bind-xml node="attribute"/> </field> <field name="base"> <bind-xml node="attribute"/> </field> <field name="impl"> <bind-xml node="attribute"/> </field> <field name="derivedBy"> <bind-xml node="attribute"/> </field> <field name="facet" type="org.exolab.castor.xml.schema.simpletypes.factory.TypeProperty" collection="vector" > <bind-xml node="element" /> </field> </class> <class name="org.exolab.castor.xml.schema.simpletypes.factory.TypeProperty"> <description>facet</description> <map-to xml="Facet" /> <field name="name"> <bind-xml node="attribute"/> </field> <field name="value"> <bind-xml node="attribute"/> </field> <field name="pseudo"> <bind-xml node="attribute"/> </field> </class> </mapping>