(PHP 4 >= 4.0.3)

xslt_run -- Apply a XSLT stylesheet to a file.


bool xslt_run (resource xh, string xslt_file, string xml_data_file, string result, array xslt_params, array xslt_args)


This function is EXPERIMENTAL. That means, that the behaviour of this function, this function name, in concreto ANYTHING documented here can change in a future release of PHP WITHOUT NOTICE. Be warned, and use this function at your own risk.

Process the xml_data_file by applying the xslt_file stylesheet to it. The stylesheet has access to xslt_params and the processor is started with xslt_args. The result of the XSLT transformation is placed in the named buffer (default is "/_result").