LXXXIX. XSLT functions

Warning

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

Introduction

About XSLT and Sablotron

XSLT (Extensible Stylesheet Language (XSL) Transformations) is a language for transforming XML documents into other XML documents. It is a standard defined by The World Wide Web consortium (W3C). Information about XSLT and related technologies can be found at http://www.w3.org/TR/xslt.

Installation

This extension uses Sabloton and expat, which can both be found at http://www.gingerall.com/. Binaries are provided as well as source.

On UNIX, run configure with the --with-sablot. The Sablotron library should be installed somewhere your compiler can find it.

About This Extension

This PHP extension implements support Sablotron from Ginger Alliance in PHP. This toolkit lets you transform XML documents into other documents, including new XML documents, but also into HTML or other target formats. It basically provides a standardized and portable template mechanism, separating content and design of a website.

Table of Contents
xslt_closelog -- Clear the logfile for a given instance of Sablotron
xslt_create -- Create a new XSL processor.
xslt_errno -- Return the current error number
xslt_error -- Return the current error string
xslt_fetch_result -- Fetch a (named) result buffer
xslt_free -- Free XSLT processor
xslt_openlog -- Set a logfile for XSLT processor messages
xslt_output_begintransform -- Begin an XSLT transformation on the output
xslt_output_endtransform -- End an output transformation started with xslt_output_begintransform
xslt_process -- Transform XML data through a string containing XSL data
xslt_run -- Apply a XSLT stylesheet to a file.
xslt_set_sax_handler -- Set SAX handlers for a XSLT processor
xslt_transform -- Perform an XSLT transformation