XPath Location Paths and Relationship Axes

  • Absolute location path: /html/head/title
  • Relative location path: head/link
  • Accessing an attribute: head/link/@rel
  • Accessing the following sibling element: following-sibling::meta
 
© Copyright 2005