Re: Find/replace algorithm
| Newsgroups | gmane.text.xml.xsl.general.mulberrytech |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 2021-03-25 at 16:29 +0000, [email protected] wrote: > Thank you Michael. I like the idea of keeping the processing cost > constant > but I was going to use regular expressions in my map, so I may still > have to > loop through the lookup structure. An alternative to consider is to put your input document into a map and check each map key against all the tokens. Liam -- 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 --~---------------------------------------------------------------- XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/3329386 or by email: [email protected] --~--