On Fri, 2020-05-08 at 14:52 -0400, Graydon Saunders wrote: > > > The idea would be to iterate through the list, marking up the node > with any > matches.
Can you instead use standoff markup? E.g. store positions of start and end as word counts, and then merge them later? > -- Liam Quin, https://www.delightfulcomputing.com/ Available for XML/Document/Information Architecture/XSLT/ XSL/XQuery/Web/Text Processing/A11Y training, work & consulting. Barefoot Web-slave, antique illustrations: http://www.fromoldbooks.org