xsl-list
[Top] [All Lists]

Re: Document function handling POST instead of GET

2005-01-21 11:16:05
"António" == António Mota <amsmota(_at_)gmail(_dot_)com> writes:

    António> I don't know if this is suitable for xsl-list, and if
    António> it's a question that make xsl sense.

    António> I can get some XML document using
    António> document('http://something/some.asp?aparam=xptm'). This
    António> is a HTTP GET method.

Why?

What is there to say that the document function must use the GET
method (or to put it another way, what is to say that it may not use
the POST method?) to retrieve the resource? I can't find anywhere that
specifies this.

So I think it should be legitimate for an XSLT processor to be able to
use the POST method instead. In which case, it might recognise a
user-defined data element to control the choice of method.

But how you could then supply data I don't know. So perhaps a custom
URI scheme would be the way to tackle this.
-- 
Colin Paul Adams
Preston Lancashire

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--



<Prev in Thread] Current Thread [Next in Thread>