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

Re: xalan and replace "regex"

Subject: Re: xalan and replace "regex"
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Thu, 27 Dec 2007 15:15:11 +0100
Re:  xalan and replace "regex"
It depends. If you need to do text parsing, XSLT 1.0 will make it very hard for you because of its very limited standard text parsing functions. So, if you want to do what you said in your original post, color highlighting of programming code, you will end up spending weeks of coding in XSLT 1.0, where in XSLT 2.0 it would (possibly) be a matter of hours.

So, "good idea" really depends. If you like to code and spend much time to it, use XSLT 1.0, if not, and you rather use a tool that suits the job better, choose XSLT 2.0 (or anything else that would make color highlighting easier, there are many tools around that can do that readily).

-- Abel Braaksma

Mansour wrote:
I don't know if this would be a good idea at this point.


Michael Kay wrote:
Is there any way I can use replace with xalan.

The replace() function is new in XSLT 2.0, and Xalan only supports XSLT 1.0.
Switch to Saxon.


Michael Kay
http://www.saxonica.com/

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.