GATE | Gate IT 2007 | Question 20

Consider the XML document fragment given below:
2007_20

Consider the XPath expression: *[not (self ) : : TOC]
What would be the result of the given XPath expression when the current node is Book?
(A) The Title and Content elements
(B) The Content and TOC elements
(C) The Title and TOC elements
(D) The Title, Content and TOC elements


Answer: (D)

Explanation: Out of Syllabus now

Quiz of this Question

My Personal Notes arrow_drop_up

Improved By : pkmr1291

Article Tags :

Be the First to upvote.


Please write to us at contribute@geeksforgeeks.org to report any issue with the above content.