Java Tutorial - Java Scipt : dom4j

Java Tutorial - Java Scipt :
dom4j

dom4J is very similar in scope to JDOM, but has a different take on its design approach. Whereas JDOM works hard to avoid factory design patterns and having deep object hierarchies, dom4J embraces them. Although initially cumbersome, the design patterns make dom4J more extensible in the long run. The following table provides a summary of dom4j.

Other than the design-pattern overhead, the interface is well thought out and powerful. The way the object hierarchy is built is very clean and nice. For example, the Element interface extends the Node interface, with the appropriate functionality in each.

dom4J is very feature-complete and includes a very good XPath implementation and XSLT support. It is also one of the best-performing XML solutions. There isn’t much that dom4J can’t do, and it is definitely worth checking out
for any of your XML needs.