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

Re: XSLT match with regex what's the best current solu

Subject: Re: XSLT match with regex what's the best current solution?
From: Gunther Schadow <gunther@xxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 16 Jan 2002 18:02:12 -0500
xslt match place
Michael Kay wrote:


If you know Java, writing Saxon extension functions isn't difficult. It's
described in the extensibility.html file that comes with the download.


I did just that and I can see the light!

Using the GNU Java regex package it was easy, but ended up slow.

Now I use ORO matcher and that's O.K. speed. Had to do some
tricks with a wrapper class to make it easier on the XSLT side
and to make regex matches be part of template match patterns
at all (can't refer to a variable in template match patterns.)

I am ready to switch from AWK to XSLT for my up-translation
project and will report more when I'm a good deal ahead.

Eventually some lower level XSLT support will be needed for
tail-recursion elimination and to avoid excessive copying of
strings and substrings of a (long) text node. Will have
proposals / requests within a month or so.

But the proof of concept is in the making. I'm developing
some use patterns. Up-translation with XSLT will be common
place a year from now.

And saxon is great!

cheers,
-Gunther



--
Gunther Schadow, M.D., Ph.D.                    gschadow@xxxxxxxxxxxxxxx
Medical Information Scientist      Regenstrief Institute for Health Care
Adjunct Assistant Professor        Indiana University School of Medicine
tel:1(317)630-7960                         http://aurora.regenstrief.org



XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.