Xalan offers mechanisms to call an external procedural code written in
Java. Here is documentation for that,
http://xml.apache.org/xalan-j/extensions.html

You could use this extension mechanism provided by Xalan, to write
your own custom functions, which you could call from the XSLT
stylesheet.

I wrote a related blog post, about this some time ago. Here's the link
for that [1]:
http://mukulgandhi.blogspot.com/2009/11/xslt-10-regular-expression-string.html

Hope this [1] could be of some help too :)

On Thu, Mar 11, 2010 at 12:23 PM, xunlong gui <ustbco...@gmail.com> wrote:
> Hi everyone,
>
> I use xalan to convert one XML document to another format, my XML document
> format is so complex that i have to use xpath 2.0 function (such as function
> ends-with) to finish my job.But as we know, xalan support XPath 1.0
> functions only. If i implement xpath 2.0 functions for xalan by myself, do
> you think it is a good idea?In fact, i have started this job already,and i
> hold it as a open source project upder apache licence 2.0, and named it
> xslt2runner. you can find it by the following
> url:http://code.google.com/p/xslt2runner/.
>
> Thank you & best regards :)



-- 
Regards,
Mukul Gandhi

Reply via email to