XPath by Rory

XPath Expression

The XPath expression selects nodes or a list of nodes based on attributes like ID, Name, Classname, etc., from an XML document.

//input[@name = 'value']
  • input = tag name
  • name = attribute
  • value = value of attribute

Comments

Leave a Comment

All fields are required. Your email address will not be published.