Re: [xsl] Javascript for extension functions

Subject: Re: [xsl] Javascript for extension functions
From: Abel Braaksma <abel.online@xxxxxxxxx>
Date: Mon, 10 Sep 2007 08:15:11 +0200
Colin Paul Adams wrote:
    Abel> XmlHTTPRequest which can be used for issuing a POST to the
    Abel> server and returning an XML object.

I wouldn't have thought so. It's not part of the language. Is it a
required library function?

<snip />

But all these must be provided as library functions by the Javascript
implementor - so they might as well as be provided as built-in
extension functions.

ah, you are right, these are provided by the browser, just like the whole DOM thing is... I was mistaken there. Perhaps there are other things you can do better in JS then in XSLT, but these are the ones I would like to see addressed (or my first attempt for an extension function)


Current Thread