Sunday, February 15, 2009

Java XML Mapping

Recently, Castor has release a Castor 1.3 version. Castor is a great Java-XML mapping project and it gives more.


But, if you only need simple XML parsing, Java DOM (Document Object Model) is good enough.


Below is a sample to parse all xml element and value to a HashMap



Refer to the Java API

No comments:

Post a Comment

Oracle - Reclaim disk space

Oracle does not release disk space even if you had delete the data or tablespace. If you have enterprise manager, you should use it to  rec...