Re: How Extension Function can be created for Mozilla Processor

Martin Honnen <[email protected]> Fri, 06 Jun 2008 16:10:04 +0200
Newsgroups gmane.comp.mozilla.devel.layout.xslt
Organization Liberty Development
Message-ID <[email protected]>
[email protected] wrote:

> Can anybody tell me how mozilla implements the extension functions for
> its XSLT processor. presently we are not able to make new extension
> functions and call it in the XSL files. But IE supports this by using
> an addObject() method. I got some information that mozilla does not
> support this methods.but in their firefox 3 they added some
> functionality.

http://lxr.mozilla.org/seamonkey/source/content/xslt/src/xslt/txEXSLTRegExFunctions.js 
implements the regular expression EXSLT extensions. However as I pointed 
out in comp.lang.javascript, I don't think any such mechanism is exposed 
to stylesheet authors to implement their own extension functions for 
stylesheets.

-- 

	Martin Honnen
	http://JavaScript.FAQTs.com/