PHP 手冊
前一頁 |  | 下一頁

# XSLTProcessor->__construct()

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

## Description

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()