xsl-list
[Top] [All Lists]

RE: Doing HTTP/POST from XSLT is fun!

2002-12-03 08:01:43
Hi,

I was wondering why no one mentioned what EricvdL posted. But taking that a step
further, if (general)your processor supports a URIResolver you could send a key
value to look up up the structured information in an XML config file.

best,
-Rob

p.s. for Eric: can't wait to get the RNG book! I don't suppose there is the
option of publishing the current version of the book in PDF for easy reading
over the holidays? :)

-----Original Message-----
From: owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
[mailto:owner-xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com]On Behalf Of 
Daniel
Veillard
Sent: Tuesday, December 03, 2002 6:36 AM
To: xsl-list(_at_)lists(_dot_)mulberrytech(_dot_)com
Subject: Re: [xsl] Doing HTTP/POST from XSLT is fun!


On Tue, Dec 03, 2002 at 03:04:46PM +0100, Eric van der Vlist wrote:
Hi Daniel,

On Tue, 2002-12-03 at 14:43, Daniel Veillard wrote:

That would be sufficient for XML-RPC driven XSLT interraction.
Simple framework, easy deployment, and everything is kept at the markup
and structure level.

Speaking of simple framework and easy deployment, the simplest thing I
have seen so far is sometimes called REST :-) .

Translated into XSLT, this gives something such as:

<xsl:variable name="response"
select="document('http://example.com/bar.cgi?order=Gimme+beer')"/>

It doesn't even need any exslt extension (except maybe to encode the
query string) and is just plain standard XSLT.

For those of you who read French, I came to the same (controversial)
conclusion on a real world case recently on XMLfr:

  The problem is if you want to pass a bit more structure. That ought
to be possible in an XSLT/XML framework (and without requiring hundred
of pages of underlying specifications :-)

Daniel

--
Daniel Veillard      | Red Hat Network http://redhat.com/products/network/
veillard(_at_)redhat(_dot_)com  | libxml Gnome XML XSLT toolkit  
http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list




 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list