W3C home > Mailing lists > Public > public-annotation@w3.org > November 2015

[web-annotation] Functionality: XPath Range Selector

From: Rob Sanderson via GitHub <sysbot+gh@w3.org>
Date: Tue, 03 Nov 2015 02:55:12 +0000
To: public-annotation@w3.org
Message-ID: <issues.opened-114732624-1446519311-sysbot+gh@w3.org>
azaroth42 has just created a new issue for 
https://github.com/w3c/web-annotation:

== Functionality: XPath Range Selector ==
Also discussed at TPAC, a range selector using start and end XPaths.  
A single XPath can already be handled via the FragmentSelector, but it
 was determined that even if all useful ranges were able to be 
expressed in XPointer, this functionality is not readily available and
 two XPaths in a selector was more useful, and of minimal additional 
complexity to specify.

Example:
```
{
  "type": "XPathRangeSelector",
  "startPath": "/html/body/div[4]/p[1]/b",
  "endPath": "/html/body/div[4]/p[3]"
}
```

See https://github.com/w3c/web-annotation/issues/95
Received on Tuesday, 3 November 2015 02:55:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:42 UTC