ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> exslt
exslt
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved