PHP: domxml_xslt_stylesheet_file - Manual

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

search for in the

domxml_xslt_stylesheet domxml_xslt_stylesheet_doc

Last updated: Fri, 26 Jan 2007

view this page in

# domxml_xslt_stylesheet_file

(PHP 4 >= 4.2.0, PECL)

domxml_xslt_stylesheet_file -- Creates a DomXsltStylesheet Object from an XSL document in a file

## Описание

DomXsltStylesheet domxml_xslt_stylesheet_file ( string xsl_file )

Creates a DomXsltStylesheet object from the given XSL file.

## Список параметров

`xsl_file`

  The path to the XSL document, as a string.

## Возвращаемые значения

Returns a new instance of DomXsltStylesheet.

## Migrating to PHP 5

Call XSLTProcessor->importStylesheet() with `DOMDocument::load($xsl_file)` as parameter.

## Смотрите также

DomXsltStylesheet->process()
domxml_xslt_stylesheet()
domxml_xslt_stylesheet_doc()

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();
?>`
add a note
domxml_xslt_stylesheet domxml_xslt_stylesheet_doc

Last updated: Fri, 26 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 09:32:46 2007 PST