1.

Name Some Of The Important Dom4j Methods?

Answer»

When you are working with the DOM4J, there are several methods you'll 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.

When you are working with the DOM4J, there are several methods you'll use often:



Discussion

No Comment Found