Skip to content
Related Articles

Related Articles

Improve Article
Save Article
Like Article

GATE | Gate IT 2007 | Question 20

  • Last Updated : 10 Sep, 2018

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
Recommended Articles
Page :

Start Your Coding Journey Now!