Question
What is predicate in XPath

Answers

Predicate are used to find specific node or a node containing specific value and are defined using [...] .

ExpressionResult
/class/student[1]Selects the first student element that is the child of the class element.
/class/student[last()]Selects the last student element that is the child of the class element.
/class/student[last()-1]Selects the last but one student element that is the child of the class element.
//student[@rollno='493']Selects all the student elements that have an attribute named rollno with a value of '493'   Your Comment




More Software Questions..
What is the inputsplit in map reduce software?

What is software configuration management?

What Is Java Api For Xml-based Rpc (jax-rpc)?

How can you implement fine-grained auditing?

What is IBM’s simple explanation for Big Data’s four critical features?

What is static synchronized method in JDBC API? Give an example?

What does the NULLIF function do?

What happens if a start method is not invoked and the run method is directly invoked?

Should we override finalize method

what is the difference between mysql_fetch_array and mysql_fetch_object?

How will XML affect my document links?

Why to use Style Sheets?

What are Filters in MVC?

Can you explain Application layer in OSI model?

How to define new testplan attributes?

What are the minimum system requirements to run Photoshop? Is it possible to run Photoshop over linux?

Which oracle package is used to manage the oracle lock management services?

What is Latch Up? Explain Latch Up with cross section of a CMOS Inverter. How do you avoid Latch Up?

What is marker interface?

What types of partitioning are there for BW?



Search
Can you Answer!!
  • Q Have you ever fired anyone?How would you do it if you are required to?
  • Q Which metal has the lowest hardness of all elements ?
  • Q Kaawl Tiger Reserve is in which state?
  • Q What are the different types of leverages computed for financial analysis?
  • Q Who wrote the novel The Betsy
  • Q Who said Politics is the art of the possible 11 Aug 1867
  • Q What is koa.js generators?
  • Q Who was the first recipient of Gyanpeeth Award
  • Q In 2000 what state removed confederate flag - statehouse dome
  • Q Write short note on Editor
  • Q The unidirectional property of a pn-junction is useful for its use as which thing?