Re: [xsl] Document() function: GET vs. POST

Subject: Re: [xsl] Document() function: GET vs. POST
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 12 Nov 2005 08:04:20 +0000
>>>>> "Brian" == granam  <granam@xxxxxxx> writes:

    Brian> The Document() function can do an HTTP GET.

Your assertion is far too strong.

Try: The Document() function might result in an HTTP GET
        being performed.
Then add: This is most likely to happen if the URI is an http scheme
        URI, but it might not happen for such a URI, and it might
        happen for other URI schems.

    Brian> Could it do an HTTP POST?

Yes.
    
    Brian> It would be quite useful to be able to interact with web
    Brian> services which use a more complex HTTP POST interface.  Can
    Brian> this be done, or is that possibly something for the future?

I presume you meant to say:

"Do any XSLT processors do this now, or is that possibly something for
the future?"

In which case my answers would be:

1) Not that I know of, and
2) This is of course possible - depending on what you mean by
interact.

You can probably right a URI resolver to do this.
-- 
Colin Adams
Preston Lancashire

Current Thread