XSLTProcessor::importStylesheet

Import stylesheet

Description

public bool XSLTProcessor::importStylesheet(object $stylesheet)

This method imports the stylesheet into the XSLTProcessor for transformations.

Parameters

stylesheet

The imported style sheet as a DOMDocument or SimpleXMLElement object.

Return Values

Returns true on success or false on failure.