XSLTProcessor
PHP Manual

XSLTProcessor::__construct

(PHP 5)

XSLTProcessor::__constructCreates a new XSLTProcessor object

설명

__construct ( void )

Creates a new XSLTProcessor object.

인수

이 함수는 인수가 없습니다.

반환값

값을 반환하지 않습니다.

예제

Example #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