Subject: Re: [xsl] xalan and replace "regex" From: Mansour <mansour77@xxxxxxxxx> Date: Thu, 27 Dec 2007 10:20:25 -0400 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] xalan and replace "regex", Abel Braaksma | Thread | Re: [xsl] xalan and replace "regex", Abel Braaksma |
Re: [xsl] xalan and replace "regex", Abel Braaksma | Date | Re: [xsl] xalan and replace "regex", Abel Braaksma |
Month |