Re: [xsl] Need help figuring out how to use exslt in stylesheet

Subject: Re: [xsl] Need help figuring out how to use exslt in stylesheet
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 1 Nov 2005 00:11:20 GMT
> I copied the entire exslt tree to the directory where I have my
> stylesheet (probably overkill).  I have an "xsl:import" for
> "exslt/str/str.xsl".  I have a root template that calls a sub-template,
> passing a parameter.  The sub-template tries to call "str:tokenize" and
> put the result into a variable.

If xalan supports exslt tokenize function (which I think it does) you
don't need _any_ of the exslt stylesheets. The stylesheets (mainly) just
define template alternatives that approach the functionality of the
extension functions for systems that don't have them built in.

Typically a system that implements exslt functions implements them
directly in the language used to implement the processor (java or C or
whatever it is, java for xalan-j) and all a user needs to is declare the
namespace and use the function,. You don't need any files and don't need
to import any stylesheets.

David

________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Current Thread