Clone a map assigning a name.

1 map.clone

<map.clone name='a'>
    <map /> !
</map.clone>
Example

Clone a map called a1 in another whose name will be a2.

Copy
<xsql-script name='map_sample_clone'>
    <body>
        <map name='a1'>
            <item>0<string>ZERO</string></item>
            <item>1<string>ONE</string></item>
            <item>2<string>TWO</string></item>
            <item>3<string>THREE</string></item>
        </map>
        <set name = 'a2'>
	    <map.clone>
	        <a1 />
	    </map.clone>
	</set>
	<println><a2/></println>
    </body>
</xsql-script>

The result shown is the following.