You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xalan.apache.org by David Bertoni <db...@apache.org> on 2007/02/19 21:11:57 UTC

Re: Extra functions to XPath

Indrajit Bhattacharya wrote:
> Hi,
> 
> I have a query on XPath:
> 
> Is it possible to add extra functions to XPath 1.0 specifications, such 
> that Xalan could
> call those functions actually implemented by me in my application, 
> without using XSL ?
> 
> For example: If I have some expression "cube('id('some-id')), where id() 
> is XPath function and
> cube() is mine.
> 
> Please let me know how to do it.

You can look at the ExternalFunction sample.

Dave