Open In App

GATE | Gate IT 2007 | Question 20

Consider the XML document fragment given below:


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

Article Tags :