Try an approach where you first break the text into words, and then iterate
over the words checking each one to see if it appears in the list of
acronyms, using key() to search the acronyms.
Michael Kay
http://www.saxonica.com/
-----Original Message-----
From: J. S. Rawat [mailto:jrawat(_at_)aptaracorp(_dot_)com]
Sent: 27 November 2008 07:48
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com;
xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: [xsl] Faster Search and replace
Hi
I am trying to find out search and replace by xslt (text
handling). I have tried both the solution given by Jeni
Tennison provided within URL
http://www.dpawson.co.uk/xsl/sect2/replace.html#d9563e121 .
Both seems time taking (700 replacement/minute by saxon).
Anyone who can give the faster solution.
Thanks in advance!!!
...JSR
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail:
<mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--