XPath and XPointer Tips

Good article on XML.com about the tricky bits of XPath. Worth reading to understand how predicates and axes are resolved, how whitespace is handled (and how MSXML does not behave correctly out of the box), and the usual admonishment not to use “//” unless you have to.

Possibly Related posts (machine generated):

  1. ERH on JDOM v. DOM
  2. XPath Explorer
  3. XPath evaluation in PHP with Namespaces
  4. From JSON to XPath
  5. What’s New in XPath 2.0

More like this: .