Руководство по PHP
Пред. |  | След.

# XSLTProcessor->__construct()

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