Name some of the important DOM4J methods.

When you are working with the DOM4J, there are several methods you will use often -
SAXReader.read(xmlSource)() - Build the DOM4J document from the xml source.
Document.getRootElement() - Get the root element of the XML.
Element.node(index) - Get the XML node at particular index in the element.
Element.attributes() - Get all the attributes of an element.
Node.valueOf(@Name) - Get the value of an attribute with given name of the element.


Need Help? Contact Us.

Log in

*
*

Forgot password?

*

New User

*
*
*
*