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

Re: [web-annotation] XPath Range Selector

From: Takeshi Kanai via GitHub <sysbot+gh@w3.org>
Date: Thu, 05 Nov 2015 06:15:42 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-153966728-1446704141-sysbot+gh@w3.org>
@tilgovi I'm uncertain whether the pointed objects would be included 
or excluded in/from the range. Could you tell me how to select "I 
(love)" words, or both "I" and the heart mark Image,  from the html 
text below with the XPathSelector? I also would like to make sure how 
to select "I" only.
`<p>I <img src="love.png" /> New York</p>`

As I frequently encounter such paragraphs while I'm reading Japanese 
eBooks, although images are "Kanji" characters, I am looking for an 
appropriate selector which can be applicable for non-normalized HTML 
documents.

-- 
GitHub Notif of comment by tkanai
See 
https://github.com/w3c/web-annotation/issues/95#issuecomment-153966728
Received on Thursday, 5 November 2015 06:15:47 UTC

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