XML Tutorial Answer2-7


7. Which of the following is true about Node Class of the DOM4J parser?
A.      It represents the entire xml documents. A documents object is often reffered to as a DOM tree.
B.      It represents an XML element. Element object has methods to manipulate its child elements, its text, attributes and namespaces.
C.       It represents an attribute of an element. Attribute has method to get and set the value of attribute, it has parent and attribute type.
Answer
Explanation
Ans. ‘C’ is correct
Node class represents Element, attribute or processing instruction.


CLICK HERE FOR BACK