XSLTProcessor::__construct

(PHP 5)

XSLTProcessor::__constructCreates a new XSLTProcessor object

Description

XSLTProcessor::__construct ( void )

Creates a new XSLTProcessor object.

Parameters

This function has no parameters.

Return Values

No value is returned.

Examples

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

?>


Copyright © 2010-2024 Platon Technologies, s.r.o.           Home | Man pages | tLDP | Documents | Utilities | About
Design by styleshout