|
[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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 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: 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








