[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: Faster Search and replace

Subject: RE: Faster Search and replace
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Thu, 27 Nov 2008 10:40:08 -0000
RE:  Faster Search and replace
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

> -----Original Message-----
> From: J. S. Rawat [mailto:jrawat@xxxxxxxxxxxxxx] 
> Sent: 27 November 2008 07:48
> To: xsl-list@xxxxxxxxxxxxxxxxxxxxxx; xsl-list@xxxxxxxxxxxxxxxxxxxxxx
> Subject:  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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.