Subject: RE: [xsl] Faster Search and replace From: "Michael Kay" <mike@xxxxxxxxxxxx> Date: Thu, 27 Nov 2008 10:40:08 -0000 |
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@xxxxxxxxxxxxxx] > Sent: 27 November 2008 07:48 > To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; xsl-list@xxxxxxxxxxxxxxxxxxxxxx > 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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [xsl] Faster Search and replace, J. S. Rawat | Thread | [xsl] String containing both single, Michael Ludwig |
RE: [xsl] Faster Search and replace, J. S. Rawat | Date | Re: [xsl] position matching, Vasu Chakkera |
Month |