I have a Map as a property of an object.  When serialized, it looks like this.

<machine>
    <internals>
        <entry>
            <class>java.util.HashMap$Entry</class>
            <key>start</key>
            <value>6000</value>
        </entry>
        <entry>
            <class>java.util.HashMap$Entry</class>
            <key>end</key>
            <value>8000</value>        
        </entry>
    </internals>
</machine>

I would like the output to look like this.

<machine>
    <start>6000</start>
    <end>8000<end>
</machine>


Any help or suggestions would be most appreciated.

-Dakshesh

 
---------------------------------
Want to start your own business? Learn how on Yahoo! Small Business.

Reply via email to