(No version information available, might be only in CVS)
XSLTProcessor::__construct — Crée un nouvel objet XSLTProcessor
Crée un nouvel objet XSLTProcessor
.
Exemple 2829. Création d'un XSLTProcessor
<?php
$doc
= new
DOMDocument
();
$xsl
= new
XSLTProcessor
();
$doc
->
load
(
$xsl_filename
);
$xsl
->
importStyleSheet
(
$doc
);
$doc
->
load
(
$xml_filename
);
echo
$xsl
->
transformToXML
(
$doc
);
?>