downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  

<DomProcessingInstruction->targetDomXsltStylesheet->result_dump_file()>
Last updated: Thu, 26 Jun 2008

DomXsltStylesheet->process()

(No version information available, might be only in CVS)

DomXsltStylesheet->process() — Applies the XSLT-Transformation on a DomDocument Object

Description

DomXsltStylesheet
DomDocument process ( DomDocument $xml_doc [, array $xslt_params [, bool $is_xpath_param [, string $profile_filename ]]] )

Applies an XSLT Transformation on the given DomDocument object.

Parameters

xml_doc

The XML document being transformed, as a DomDocument object.

xslt_params

An associative array that takes pairs of parameter names and values.

is_xpath_param

If set to FALSE the values of the xslt_params will be quoted. This is the default behavior. It allows you to pass the values as PHP strings.

Note: If your strings contains both single and double quotes, you must take care of quoting all the values by yourself and set this parameter to TRUE.

profile_filename

Set this to the path of a filename, if you want profiling information.

Return Values

Returns the result of the processing, as a DomDocument object.

Migrating to PHP 5

Use XSLTProcessor::setParameter() and XSLTProcessor::transform-to-doc().

ChangeLog

Version Description
4.3.0 The profile_filename parameter was added.



add a noteadd a note User Contributed Notes
Applies the XSLT-Transformation on a DomDocument Object
There are no user contributed notes for this page.




<DomProcessingInstruction->targetDomXsltStylesheet->result_dump_file()>
Last updated: Thu, 26 Jun 2008
show source | credits | sitemap | contact | advertising | mirror sites
Copyright © 2001-2005 The PHP Group
All rights reserved.
This unofficial mirror is operated at: http://phpbuilder.com/
Last updated: Tue Nov 1 20:20:59 2005 EST
Columns / Articles | Tips / Quickies | News | News Linking and RSS Feeds | Shared Code Library
Mail Archives | Support / Discussion Forums | Get Started! Links | Contribute! | Docs