XSLTProcessor::importStylesheet

(PHP 5, PHP 7)

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��

������־

�汾 ˵��
5.2.8 Accepts SimpleXMLElement again which was broken since PHP 5.2.6.