PHP 8.4.0 RC4 available for testing

XSLTProcessor::__construct

(PHP 5, PHP 7, PHP 8)

XSLTProcessor::__constructCrée un nouvel objet XSLTProcessor

Description

XSLTProcessor::__construct()

Crée un nouvel objet XSLTProcessor.

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Exemples

Exemple #1 Exemple avec XSLTProcessor

<?php

$xsldoc
= new DOMDocument();
$xsldoc->load($xsl_filename);

$xmldoc = new DOMDocument();
$xmldoc->load($xml_filename);

$xsl = new XSLTProcessor();
$xsl->importStyleSheet($xsldoc);
echo
$xsl->transformToXML($xmldoc);

?>

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top