Extensions to XPath: points and ranges


The goal is to express, for example, a range defined by the user:

  <p>This is part of a paragraph, defined as an XML element</p>
  
  <p>And this is another paragraph with an embedded,
  <em>inline</em> element</p>

The selection goes over XML element boundaries!