getResultDocument
getResultDocument($uri as String) → Document|DocumentFragment
Returns a result document created by the xsl:result-document instruction
|
Arguments |
|||
|
|
$uri |
String |
The URI of the result document |
|
Result |
Document|DocumentFragment |
||
Details
Result documents created when calling the
XSLT20Processor functions
transformToDocument
or
transformToFragment
each have a unique URI. The uri parameter identifies the
specific document to return, the result is null if no result
document was output with a matching URI.
When getResultDocument is called with no parameter or a null or empty-string parameter value, the principal output document, if any, is returned.
This function can be used in combination with GetResultDocuments() which returns a String array of all result document URIs from the last XSLT transform.