didou Sun Aug 1 11:37:41 2004 EDT
Added files:
/phpdoc/en/reference/xsl constants.xml
Modified files:
/phpdoc/en/reference/xsl/functions
xsl-xsltprocessor-has-exslt-support.xml
/phpdoc/en/reference/xsl reference.xml
Log:
Add constants.xml and an example for hasExsltSupport()
http://cvs.php.net/diff.php/phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml
diff -u phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml:1.1
phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml:1.2
--- phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml:1.1
Wed Apr 14 03:17:18 2004
+++ phpdoc/en/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml Sun
Aug 1 11:37:40 2004
@@ -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>
http://cvs.php.net/diff.php/phpdoc/en/reference/xsl/reference.xml?r1=1.5&r2=1.6&ty=u
Index: phpdoc/en/reference/xsl/reference.xml
diff -u phpdoc/en/reference/xsl/reference.xml:1.5
phpdoc/en/reference/xsl/reference.xml:1.6
--- phpdoc/en/reference/xsl/reference.xml:1.5 Wed Jul 21 18:17:03 2004
+++ phpdoc/en/reference/xsl/reference.xml Sun Aug 1 11:37:41 2004
@@ -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 @@
</example>
</para>
</section>
+
+ &reference.xsl.constants;
+
</partintro>
&reference.xsl.functions;
http://cvs.php.net/co.php/phpdoc/en/reference/xsl/constants.xml?r=1.1&p=1
Index: phpdoc/en/reference/xsl/constants.xml
+++ phpdoc/en/reference/xsl/constants.xml
<?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
-->