DomXsltStylesheet::result_dump_file
(PHP 4 >= 4.1.0)
DomXsltStylesheet::result_dump_file — Bir XSL dönüşümünün sonucunu bir dosyaya yazar
Açıklama
DomXsltStylesheet
DomXsltStylesheet::process daima iyi biçimli bir DOM XML belgesi döndürdüğünden
<xsl:output>
Bu yöntem,
<xsl:output method="html|text">
Örnekler
Örnek 1 - Bir XSLT sonucunun bir dosyaya kaydedilmesi
<?php
$filename = "stylesheet.xsl";
$xmldoc = domxml_open_file("data.xml");
$xsldoc = domxml_xslt_stylesheet_file($filename);
$result = $xsldoc->process($xmldoc);
echo $xsldoc->result_dump_file($result, "filename");
?>
Ayrıca Bakınız
- DomXsltStylesheet::result_dump_mem - Bir XSL dönüşümünün sonucunu bir dizge olarak döndürür
- DomXsltStylesheet::process - Bir DomDocument nesnesine XSL dönüşümü uygular
DomXsltStylesheet::result_dump_file
There are no user contributed notes for this page.
