I was just wondering if someone can show me a quick way of converting an XML file to Java object from this sample:
- <VM-DataCalculator>
- <device name="Blackberry" fname="BlackBerry">
- <dataCategory>
<name>email</name>
<datarate>0.002</datarate>
<max>300</max>
<percent>12</percent>
<timeunit>month</timeunit>
</dataCategory>
- <dataCategory>
<name>emailAttachment</name>
<datarate>0.2</datarate>
<max>100</max>
<percent>10</percent>
<timeunit>month</timeunit>
</dataCategory>
Full file is available here: http://www.virginmobile.ca/en/catalogue/VMDataCalculator.xml
Any help would be appreciated.