xsl-list
[Top] [All Lists]

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

2005-10-31 17:11:20


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
________________________________________________________________________

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>