mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Add constants.xml and an example for hasExsltSupport()
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164874 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
e9feb0f83f
commit
7810ff5291
3 changed files with 82 additions and 2 deletions
59
reference/xsl/constants.xml
Normal file
59
reference/xsl/constants.xml
Normal file
|
@ -0,0 +1,59 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<section id="xsl.constants">
|
||||
&reftitle.constants;
|
||||
&extension.constants;
|
||||
<variablelist>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>XSL_CLONE_AUTO</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>XSL_CLONE_NEVER</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
<varlistentry>
|
||||
<term>
|
||||
<constant>XSL_CLONE_ALWAYS</constant>
|
||||
(<type>integer</type>)
|
||||
</term>
|
||||
<listitem>
|
||||
<simpara>
|
||||
</simpara>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</section>
|
||||
|
||||
<!-- 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
|
||||
-->
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.1 $ -->
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<refentry id="function.xsl-xsltprocessor-has-exslt-support">
|
||||
<refnamediv>
|
||||
<refname>xsl_xsltprocessor_has_exslt_support</refname>
|
||||
|
@ -27,7 +27,25 @@
|
|||
if PHP was built with the <ulink url="&url.exsltlib;">EXSLT library
|
||||
</ulink>, &false; otherwise.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>xsl_xsltprocessor_has_exslt_support</function> Example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
||||
$proc = new xsltprocessor;
|
||||
if (!$proc->hasExsltSupport()) {
|
||||
die('EXSLT support not available');
|
||||
}
|
||||
|
||||
// do EXSLT stuff here ..
|
||||
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</example>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<reference id="ref.xsl">
|
||||
<title>XSL functions</title>
|
||||
<titleabbrev>XSL</titleabbrev>
|
||||
|
@ -118,6 +118,9 @@ Hey! Welcome to my sweet CD collection!
|
|||
</example>
|
||||
</para>
|
||||
</section>
|
||||
|
||||
&reference.xsl.constants;
|
||||
|
||||
</partintro>
|
||||
|
||||
&reference.xsl.functions;
|
||||
|
|
Loading…
Reference in a new issue