Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Function Reference : XSL functions : XSLTProcessor::__construct

XSLTProcessor::__construct

Creates a new XSLTProcessor object ()

XSLTProcessor {
  __construct();
}

Creates a new XSLTProcessor object.

Examples

Example 2650. Creating an XSLTProcessor

<?php

$doc
= new DOMDocument();
$xsl = new XSLTProcessor();

$doc->load($xsl_filename);
$xsl->importStyleSheet($doc);

$doc->load($xml_filename);
echo
$xsl->transformToXML($doc);

?>


Related Examples ( Source code ) » xsl xsltprocessor construct








Change Language


Follow Navioo On Twitter
XSLTProcessor::__construct
XSLTProcessor::getParameter
XSLTProcessor::hasExsltSupport
XSLTProcessor::importStylesheet
XSLTProcessor::registerPHPFunctions
XSLTProcessor::removeParameter
XSLTProcessor::setParameter
XSLTProcessor::transformToDoc
XSLTProcessor::transformToURI
XSLTProcessor::transformToXML
eXTReMe Tracker