From 7810ff52919db7560ab5f91515b2b7abf9c31e1d Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 1 Aug 2004 15:37:41 +0000 Subject: [PATCH] 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 --- reference/xsl/constants.xml | 59 +++++++++++++++++++ .../xsl-xsltprocessor-has-exslt-support.xml | 20 ++++++- reference/xsl/reference.xml | 5 +- 3 files changed, 82 insertions(+), 2 deletions(-) create mode 100644 reference/xsl/constants.xml diff --git a/reference/xsl/constants.xml b/reference/xsl/constants.xml new file mode 100644 index 0000000000..b9fcc32a10 --- /dev/null +++ b/reference/xsl/constants.xml @@ -0,0 +1,59 @@ + + +
+ &reftitle.constants; + &extension.constants; + + + + XSL_CLONE_AUTO + (integer) + + + + + + + + + XSL_CLONE_NEVER + (integer) + + + + + + + + + XSL_CLONE_ALWAYS + (integer) + + + + + + + +
+ + diff --git a/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml b/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml index 09956ca204..52b294e694 100644 --- a/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml +++ b/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml @@ -1,5 +1,5 @@ - + xsl_xsltprocessor_has_exslt_support @@ -27,7 +27,25 @@ if PHP was built with the EXSLT library , &false; otherwise. + + + <function>xsl_xsltprocessor_has_exslt_support</function> Example + +hasExsltSupport()) { + die('EXSLT support not available'); +} + +// do EXSLT stuff here .. + +?> +]]> + + + diff --git a/reference/xsl/reference.xml b/reference/xsl/reference.xml index 17ec7e4f29..b04656d489 100644 --- a/reference/xsl/reference.xml +++ b/reference/xsl/reference.xml @@ -1,5 +1,5 @@ - + XSL functions XSL @@ -118,6 +118,9 @@ Hey! Welcome to my sweet CD collection! + + &reference.xsl.constants; + &reference.xsl.functions;