php-doc-en/reference/xslt/reference.xml

112 lines
3.6 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<reference id="ref.xslt">
<title>XSLT functions</title>
<titleabbrev>XSLT</titleabbrev>
<partintro>
<section id="xslt.intro">
&reftitle.intro;
<para>
This PHP extension provides a processor independent API to XSLT
transformations. Currently this extension only supports the Sablotron
library from the Ginger Alliance. Support is planned for other
libraries, such as the Xalan library or the libxslt library.
</para>
<para>
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 <ulink url="&url.xslt;">&url.xslt;</ulink>.
</para>
<note>
<simpara>
This extension is different than the sablotron extension distributed with
versions of PHP prior to PHP 4.1, currently only the new XSLT extension in
PHP 4.1 is supported. If you need support for the old extension, please ask
your questions on the PHP mailing lists.
</simpara>
</note>
</section>
<section id="xslt.requirements">
&reftitle.required;
<para>
This extension uses <productname>Sablotron</productname>
and <productname>expat</productname>, which can both be
found at <ulink
url="&url.sablotron;">&url.sablotron;</ulink>. Binaries
are provided as well as source.
</para>
</section>
<section id="xslt.installation">
&reftitle.install;
<para>
On UNIX, run <command>configure</command> with the
<link linkend="install.configure.enable-xslt">--enable-xslt</link>
<link linkend="install.configure.with-xslt-sablot">--with-xslt-sablot</link>
options. The <productname>Sablotron</productname>
library should be installed somewhere your compiler can find it.
</para>
<para>
Make sure you have the same libraries linked to the
<productname>Sablotron</productname> library as those, which are linked
with php. The configuration options:
<link linkend="install.configure.with-expat-dir">--with-expat-dir</link>
<link linkend="install.configure.with-iconv-dir">--with-iconv-dir</link>
are there to help you specify them. When asking for support, always
mention these directives, and whether there are other versions of those
libraries installed on your system somewhere. Naturally, provide all the
version numbers.
</para>
<note>
<title>JavaScript E-XSLT support</title>
<simpara>
If you compiled <productname>Sablotron</productname> with JavaScript
support, you must specify the option:
<link linkend="install.configure.with-sablot-js">--with-sablot-js</link>.
</simpara>
</note>
</section>
<section id="xslt.configuration">
&reftitle.runtime;
&no.config;
</section>
<section id="xslt.resources">
&reftitle.resources;
&no.resource;
</section>
&reference.xslt.constants;
</partintro>
&reference.xslt.functions;
</reference>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->