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();
?>
domxml_xslt_stylesheet_file
(PHP 4 >= 4.2.0)
domxml_xslt_stylesheet_file — Belirtilen dosyadan bir DomXsltStylesheet nesnesi oluşturur
Açıklama
DomXsltStylesheet domxml_xslt_stylesheet_file
( string
$xsl_dosyası
)
xsl_dosyası ile belirtilen dosyadan bir
DomXsltStylesheet nesnesi oluşturur.
Değiştirgeler
-
xsl_dosyası -
XSL belgenin yolu.
Dönen Değerler
Bir DomXsltStylesheet nesnesi.
PHP 5'e yükseltme
Değiştirge olarak DOMDocument::loadXML($xsl_dosyası) ile bir XSLTProcessor::importStylesheet() çağrısı yapın.
Ayrıca Bakınız
- DomXsltStylesheet::process()
- domxml_xslt_stylesheet() - Belirtilen dizgeden bir DomXsltStylesheet nesnesi oluşturur
- domxml_xslt_stylesheet_doc() - Bir DomDocument nesnesinden bir DomXsltStylesheet nesnesi oluşturur
info at sgonda dot de
29-Oct-2003 11:38
