|
INTERVIEW QUESTIONS
XML
XPATH
DETAILS
Question: How you define XPath Axes?
Answer: Using Axes we can set relation of current node with another node. Example: ancestor : Use to get all ancestor (parent, grandparent etc) of current node. ancestor-or-self : Use to get all ancestors (parent, grandparent, etc.) of the current node and also the current node. attribute : Use to get all attributes of the current node. child : Use to get all children of the current node. descendant : Use to get all descendants (children, grandchildren, etc.) of the current node. namespace : Use to get all namespace nodes of the current node. preceding : Use to get everything in the document that is comes before the start tag of the current node.
|
|
|
Category |
XPath Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 8342 users |
Added on |
4/29/2014 |
Views |
66993 |
Rate it! |
|
|
Question:
How you define XPath Axes?
Answer:
Using Axes we can set relation of current node with another node. Example: ancestor : Use to get all ancestor (parent, grandparent etc) of current node. ancestor-or-self : Use to get all ancestors (parent, grandparent, etc.) of the current node and also the current node. attribute : Use to get all attributes of the current node. child : Use to get all children of the current node. descendant : Use to get all descendants (children, grandchildren, etc.) of the current node. namespace : Use to get all namespace nodes of the current node. preceding : Use to get everything in the document that is comes before the start tag of the current node. Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
Please Note: We keep on updating better answers to this site. In case you are looking for Jobs, Pls Click Here Vyoms.com - Best Freshers & Experienced Jobs Website.
View All XPath Interview Questions & Answers - Exam Mode /
Learning Mode
|