XSLTProcessor
PHP Manual

XSLTProcessor::__construct

(No version information available, might be only in CVS)

XSLTProcessor::__constructCreates a new XSLTProcessor object

Beschreibung

XSLTProcessor
__construct ( void )

Creates a new XSLTProcessor object.

Parameter-Liste

Diese Funktion hat keine Parameter.

Rückgabewerte

Es wird kein Wert zurückgegeben.

Beispiele

Beispiel #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);

?>


XSLTProcessor
PHP Manual