주의 |
이 확장 모듈은 실험적입니다. 이 확장 모듈의 작동 -- 함수의 이름과 이 확장 모듈에 대한 모든 문서 자료에 대해서 -- 은 이후의 PHP 릴리즈에서 예고 없이 변경될 수 있습니다. 이 확장 모듈의 사용은 사용자의 책임하에 이루어집니다. |
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.
예 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:
|