Warnung |
Diese Erweiterung ist EXPERIMENTELL. Das Verhalten dieser Erweiterung, einschließlich der Funktionsnamen, und alles Andere was hier dokumentiert ist, kann sich in zukünftigen PHP-Versionen ohne Ankündigung ändern. Seien Sie gewarnt und verwenden Sie diese Erweiterung auf eigenes Risiko. |
The XSL extension implements the XSL standard, performing XSLT transformations using the libxslt library.
PHP 5 includes the XSL extension by default and it can be enabled by adding the argument --with-xsl[=DIR] to your configure line. DIR is the libxslt installation directory. libxslt version 1.0.18 or greater is required.
In this small tutorial we will learn how to transform an XML document into HTML.
Beispiel 3. Making XML into HTML The following PHP code uses the XML and XSL extensions to transform XML into presentable HTML.
This should produce an HTML fragment similar to the following:
|
Zurück | Zum Anfang | Weiter |
xdiff_string_patch | Nach oben | xsl_xsltprocessor_get_parameter |