transformToDocument
transformToDocument($source as Node?) → Document
Returns the result of an XSLT transform as a Document object.
Arguments |
|||
|
$source |
Node? |
The source document or node to be transformed. |
Result |
Document |
Details
If no source document is supplied then an initialTemplate must be set.