PHP Manual
Prev |  | Next

# XSLTProcessor->__construct()

(no version information, might be only in CVS)

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

## Description

class XSLTProcessor {
__construct ( (void); )
}

Creates a new XSLTProcessor object.

## Examples

Example 1. Creating an XSLTProcessor

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

Prev | Home | Next
XSL functions | Up | XSLTProcessor->getParameter()