[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 11:26 -------
You say:

>The thing I need is the return value from "result-document".

What do you expect this return value to be?

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.

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.

Michael Kay (personal response)

Received on Friday, 29 April 2005 11:26:23 UTC