On Thu, 2015-12-10 at 17:24 +0100, Christian Grün wrote:
> Hi Ron,
> 
> You can use ft:mark and ft:extract to highlights matches in a
> full-text result [1].

And what happens if a full text match crosses an element boundary, e.g.
a search for "blue socks" matching,
<p>He wore <sc>dark blue</sc> socks that day.</p>
could not return,
<p>He wore <sc>dark <match>blue</sc> socks</match> that day.</p>

(Yes, I should test it, sorry! but the docs should probably mention it.
it was a big part of the XPath/XQuery Full Text design early on)

Liam

-- 
Liam R. E. Quin <l...@w3.org>
The World Wide Web Consortium (W3C)

Reply via email to