XSLTProcessor::importStylesheet

(PHP 5, PHP 7)

XSLTProcessor::importStylesheetImport stylesheet

Descrierea

public XSLTProcessor::importStylesheet ( object $stylesheet ) : bool

This method imports the stylesheet into the XSLTProcessor for transformations.

Parametri

stylesheet

The imported style sheet as a DOMDocument or SimpleXMLElement object.

Valorile întoarse

Întoarce valoarea true în cazul succesului sau false în cazul eșecului.