XSLTProcessor::importStylesheet

(PHP 5, PHP 7, PHP 8)

XSLTProcessor::importStylesheetImport stylesheet

Descrizione

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

This method imports the stylesheet into the XSLTProcessor for transformations.

Elenco dei parametri

stylesheet

The imported style sheet as a DOMDocument or SimpleXMLElement object.

Valori restituiti

Restituisce true in caso di successo, false in caso di fallimento.