|
XSLTProcessor::transformToDocTransform to a document Description
public objectfalse XSLTProcessor::transformToDoc(object
$document , stringnull $returnClass = null )Transforms the source node to a document (e.g. DOMDocument) applying the stylesheet given by the XSLTProcessor::importStylesheet method. Parameters
Return Values
The resulting document or Changelog
Examples
Example #1 Transforming to a DOMDocument
The above example will output: Hey! Welcome to Nicolas Eliaszewicz's sweet CD collection! Example #2 Transforming to a Dom\Document
The above example will output: Hey! Welcome to Nicolas Eliaszewicz's sweet CD collection! See Also
|