[exslt] Xalan-Java adds EXLST extensions
by other posts by this author
Mar 22 2002 4:17PM messages near this date
[exslt] date/time functions
|
Re: [exslt] Xalan-Java adds EXLST extensions
I believe we have general agreement that Xalan should support the <a href="
http://exslt.org/"> EXSLT</a> initiative to provide a set of standard
extension functions and elements to XSLT users. Accordingly, I have just
added implementations for 12 EXSLT functions to the Xalan-Java repository
(some are calls to extension functions we already have in the Xalan
namespace). And I WELCOME and ENCOURAGE others to start adding other EXSLT
extension functions and elements.
To quickly meet the goal of providing complete support for all the EXSLT
functions and elements, we need some volunteers. Please take a look at the
EXSLT list of functions and elements, and at the Xalan implementations
identified below. Then you can send email to xalan-dev@[...].org
identifying what you would like to add and raising any questions you have
about the implementation process. If you do not yet have commiter status,
please feel free to send your additions to me.
The implementations are in the org.apache.xalan.lib package and are mapped
to EXSLT namespaces as indicated below:
1. The http://exslt.org/common namespace maps to
org.apache.xalan.lib.ExsltCommon, which includes
node-set() (calls existing Xalan extension function)
object-type()
2. The http://exslt.org/sets namespace maps to
org.apache.xalan.lib.ExsltSets, which includes
difference() (calls existing Xalan extension function)
intersection() (calls existing Xalan extension function)
distinct() (calls existing Xalan extension function)
leading()
trailing()
has-same-node()
3. The http://exslt.org/math namespace maps to
org.apache.xalan.lib.ExsltMath, which includes
min()
max()
highest()
lowest()
Note: The EXSLT namespaces are registered in
org.apache.xalan.extensions.ExtensionsTable. To handle functions that
include a dash in their name, I have added a routine in
org.apache.xalan.extensions.MethodResolver that maps abc_xyz to abcXyz.
Accordingly the implementation of has-same-node() in ExsltMath is actually
named hasSameNode().
-- Don Leslie
--
_______________________________________________
exslt mailing list
list@[...].org
http://www.exslt.org/list
Thread:
cutlass
Jeni Tennison
|