XPath – Predicate

  • Post author:
  • Post category:XPath
  • Post comments:0 Comments

Predicate refers to the XPath expression written in square brackets. It refers to restrict the selected nodes in a node set for some condition. For example, S.No.Predicate & Description1/class/student[1]Select first…

Continue ReadingXPath – Predicate

XPath – Operators

  • Post author:
  • Post category:XPath
  • Post comments:0 Comments

In this chapter, we'll see XPath operators and functions in details covering commonly used XPath defines and handles. XPath defines Operators and functions on Nodes, String, Number and Boolean types. Following is the…

Continue ReadingXPath – Operators

XPath – Axes

  • Post author:
  • Post category:XPath
  • Post comments:0 Comments

As location path defines the location of a node using absolute or relative path, axes are used to identify elements by their relationship like parent, child, sibling, etc. Axes are named so…

Continue ReadingXPath – Axes

XPath – Nodes

  • Post author:
  • Post category:XPath
  • Post comments:0 Comments

In this chapter, we'll see the XPath expression in details covering common types of Nodes, XPath defines and handles. S.No.Node Type & Description1Root element node of an XML Document.2Element node.3Text…

Continue ReadingXPath – Nodes