XSLTProcessor::importStylesheet

(PHP 5, PHP 7, PHP 8)

XSLTProcessor::importStylesheetImport stylesheet

Опис

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

This method imports the stylesheet into the XSLTProcessor for transformations.

Параметри

stylesheet

The imported style sheet as a DOMDocument or SimpleXMLElement object.

Значення, що повертаються

Повертає true у разі успіху або false в разі помилки.