[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Javascript for extension functions

Subject: Re: Javascript for extension functions
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Sep 2007 07:09:12 +0100
Re:  Javascript for extension functions
>>>>> "Abel" == Abel Braaksma <abel.online@xxxxxxxxx> writes:

    >> If using the host language, I can envisage various answers, but
    >> Javascript?
    >> 

    Abel> One thing that I dearly miss from the XSLT spec is a way to do a POST
    Abel> request (i.e., retrieve a SOAP or JSON XML document through
    Abel> web services). With JavaScript one has the ability to use
    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?

    Abel> Another thing you can do is check the existence of an
    Abel> external resource

Ditto.

    Abel> And I'm sure there are other things that cannot be done
    Abel> through xsl:function. I.e., try to process a ZIP file will
    Abel> be rather hard (meaning: impossible) in XSLT because of the
    Abel> &#x0; characters.

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.
-- 
Colin Adams
Preston Lancashire

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.