PHP 手册
后退 |  | 前进

# XSLTProcessor->__construct()

(no version information, might be only in CVS)

XSLTProcessor->__construct() -- Creates a new XSLTProcessor object

## 说明

class XSLTProcessor {
__construct ( (void); )
}

Creates a new XSLTProcessor object.

## 范例

例子 1. Creating an XSLTProcessor

`<?php $xsl = new XSLTProcessor(); $xsl->importStyleSheet(DOMDocument::load($xsl_filename)); echo $xsl->transformToXML(DOMDocument::load($xml_filename)); ?>`

后退 | 起点 | 前进
XSL functions | 上一级 | XSLTProcessor->getParameter()