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

Facebook - Control privacy setting of liked page

By default, Facebook displayed your liked page to public. It is the user responsibility to adjust the privacy setting. And in my opinion, F...