Руководство по 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 $doc = new DOMDocument(); $xsl = new XSLTProcessor(); $doc->load($xsl_filename); $xsl->importStyleSheet($doc); $doc->load($xml_filename); echo $xsl->transformToXML($doc); ?>`

Пред. | Начало | След.
XSL functions | Уровень выше | XSLTProcessor->getParameter()