<?xml version="1.0"?>
<!DOCTYPE mapping PUBLIC "-//EXOLAB/Castor Mapping DTD Version 1.0//EN" "http://castor.org/mapping.dtd">
<mapping>

    <class name="MapOfMapOfMaps">
        <field name="map" collection="map">
            <bind-xml name="map">
                <class name="org.exolab.castor.mapping.MapItem">
                    <field name="key" type="java.lang.String">
                        <bind-xml name="level1Key" node="attribute" />
                    </field>
                    <field name="value" collection="map">
                        <bind-xml name="map2">
                            <class name="org.exolab.castor.mapping.MapItem">
                                <field name="key" type="java.lang.String">
                                    <bind-xml name="level2Key" node="attribute" />
                                </field>
                                <field name="value" collection="map">
                                    <bind-xml name="map3">
                                        <class name="org.exolab.castor.mapping.MapItem">
                                            <field name="key" type="java.lang.String">
                                                <bind-xml name="level3Key" node="attribute" />
                                            </field>
                                            <field name="value" type="java.lang.String">
                                                <bind-xml name="level3Value" node="attribute" />
                                            </field>
                                        </class>
                                    </bind-xml>
                                </field>
                            </class>
                        </bind-xml>
                    </field>
                </class>
            </bind-xml>
        </field>
    </class>

</mapping>
