{ Frameless }

XSLT2Processor.transformToDocument()

The transformToDocument($source) function specifies that the transformation should result in a document object. It takes an $source argument, that specifies the source document or node that will be transformed.