[XSL-LIST Mailing List Archive Home]
Re: [xsl] XSLT for Mashups
Subject: Re: [xsl] XSLT for Mashups |
From: "James A. Robinson" <jim.robinson@xxxxxxxxxxxx>
Date: Wed, 03 Mar 2010 13:30:42 -0800
> > > Pity, sound like a good clean addition to XSLT 2.x Any more
> > > information Mike/Liam?
> > What would it offer over and above doc() and xml-over-http ?
> I think the challenge is that simple RESTful services can indeed be done
> using doc(), and anything more complex gets you into issues of side-effects.
I'm not sure I'd say "anything," one thing we found at HighWire Press was
that it became very important to be able to set and read http headers.
This isn't necessarily going as far as side effecting the retrieval of
a document, it's more akin to adding more parameters to a function call
or reading more state out of a response document.
But along the lines of your other note on this thread, what we did was
add extensions within the framework of XSLT 2 to allow us construct simple
namespaced elements to trigger sending an HTTP request and to store those
in a variable as "wrapped" document which preserved the header metadata.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
James A. Robinson jim.robinson@xxxxxxxxxxxx
Stanford University HighWire Press http://highwire.stanford.edu/
+1 650 7237294 (Work) +1 650 7259335 (Fax)