25.343. XSLTProcessor.transformToFragment( ): transform a node or document to a DocumentFragment25.343.1. SynopsisDocumentFragment transformToFragment(Node sourceNode, Document ownerDocument) 25.343.1.1. Arguments
25.343.1.2. ReturnsA DocumentFragment object that holds the result of the transformation. 25.343.2. DescriptionThis method performs an XSLT transformation on the specified node, returning the result as a DocumentFragment object. The transformation uses the XSLT stylesheet specified by importStylesheet( ) and the parameter values specified with setParameter. The returned fragment can be inserted into the specified owner document. |