downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

domxml_xslt_stylesheet> <domxml_xslt_stylesheet_doc
[edit] Last updated: Fri, 25 May 2012

view this page in

domxml_xslt_stylesheet_file

(PHP 4 >= 4.2.0)

domxml_xslt_stylesheet_file Crée un objet DomXsltStylesheet à partir d'un document XSL dans un fichier

Description

DomXsltStylesheet domxml_xslt_stylesheet_file ( string $xsl_file )

Crée un objet DomXsltStylesheet à partir du fichier XSL donné.

Liste de paramètres

xsl_file

Le chemin du document XSL, comme une chaîne.

Valeurs de retour

Retourne une nouvelle instance de DomXsltStylesheet.

Migration vers PHP 5

Appelez XSLTProcessor::importStylesheet() avec DOMDocument::load($xsl_file) comme paramètre.

Voir aussi



add a note add a note User Contributed Notes domxml_xslt_stylesheet_file
info at sgonda dot de 29-Oct-2003 11:38
Here's is a example for use:

<?php

$xmldoc
= domxml_open_file("dom.xml");
$xsldoc  = domxml_xslt_stylesheet_file ("dom.xsl");
$result   = $xsldoc->process($xmldoc);
 print
$result->dump_mem();

?>

 
show source | credits | sitemap | contact | advertising | mirror sites