[Bug 1244] [XSLT 2.0] question about result-document/@href

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1244





------- Additional Comments From mike@saxonica.com  2005-04-29 12:50 -------
Response sent to MHK by the originator:

>>The thing I need is the return value from "result-document".
>
> What do you expect this return value to be?

The xml message produced by the webservice.
Google example:
http://lamp.fh-stpoelten.ac.at/ss2004/beispiele/googleapi3/result.xml

It should give the return value like "copy-of".

>
> If the return value is the content of the constructed document, you can use
> xsl:document instead of xsl:result-document.
>
> If the return value is the result of sending the document to some
external service and getting a response, then you can construct the
document using xsl:document, pass it to the external service using an
extension function that
> invokes that service, and process the result of the extension function.

Sorry, I don't understand this. I'm good in XSLT 1.0 but didn't read the
complete XSLT 2.0 draft.
(I read the ISBN 1-861003-12-9 ;-)

>
> The purpose of xsl:result-document is to produce the final output of the
stylesheet, but you seem to have some other purpose in mind.
>

Don't know.
I had some limitations with xslt 1.0.
The functionality I missed in XSLT 1.0 was to send http-put
messages to webservices.
In XSLT 2.0 I searching for a method to do that und thought this
must by an extension to the exsl:document method.
Maybe there is a possibility already spezified in XPATH 2.0 or
XSLT 2.0, but I couldn't find this.

thanx


Bernhard Zwischenbrugger

Received on Friday, 29 April 2005 12:50:21 UTC