Skip to content
Related Articles
Get the best out of our app
GFG App
Open App
geeksforgeeks
Browser
Continue

Related Articles

GATE | Gate IT 2007 | Question 20

Improve Article
Save Article
Like Article
Improve Article
Save Article
Like Article

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
Last Updated : 10 Sep, 2018
Like Article
Save Article
Similar Reads