From 138443000fe6f89d8e5389819e177faa7b2343be Mon Sep 17 00:00:00 2001 From: Kenneth Schwartz Date: Wed, 14 Apr 2004 07:17:18 +0000 Subject: [PATCH] XSL function skeletons (manual now builds with it) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155967 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../xsl-xsltprocessor-get-parameter.xml | 50 +++++++++++++++++ .../xsl-xsltprocessor-has-exslt-support.xml | 53 +++++++++++++++++++ .../xsl-xsltprocessor-import-stylesheet.xml | 48 +++++++++++++++++ ...l-xsltprocessor-register-php-functions.xml | 51 ++++++++++++++++++ .../xsl-xsltprocessor-remove-parameter.xml | 50 +++++++++++++++++ .../xsl-xsltprocessor-set-parameter.xml | 52 ++++++++++++++++++ .../xsl-xsltprocessor-transform-to-doc.xml | 50 +++++++++++++++++ .../xsl-xsltprocessor-transform-to-uri.xml | 52 ++++++++++++++++++ .../xsl-xsltprocessor-transform-to-xml.xml | 50 +++++++++++++++++ reference/xsl/reference.xml | 6 +-- 10 files changed, 459 insertions(+), 3 deletions(-) create mode 100644 reference/xsl/functions/xsl-xsltprocessor-get-parameter.xml create mode 100644 reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml create mode 100644 reference/xsl/functions/xsl-xsltprocessor-import-stylesheet.xml create mode 100644 reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml create mode 100644 reference/xsl/functions/xsl-xsltprocessor-remove-parameter.xml create mode 100644 reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml create mode 100644 reference/xsl/functions/xsl-xsltprocessor-transform-to-doc.xml create mode 100644 reference/xsl/functions/xsl-xsltprocessor-transform-to-uri.xml create mode 100644 reference/xsl/functions/xsl-xsltprocessor-transform-to-xml.xml diff --git a/reference/xsl/functions/xsl-xsltprocessor-get-parameter.xml b/reference/xsl/functions/xsl-xsltprocessor-get-parameter.xml new file mode 100644 index 0000000000..651d3c9017 --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-get-parameter.xml @@ -0,0 +1,50 @@ + + + + + xsl_xsltprocessor_get_parameter + + + + Description + Procedural style + + boolxsl_xsltprocessor_get_parameter + stringnamespace + stringname + + Object oriented style (method) + + xsltprocessor + + xsl_xsltdocucument + getParameter + stringnamespace + stringname + + + &warn.experimental.func; + &warn.undocumented.func; + + + + diff --git a/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml b/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml new file mode 100644 index 0000000000..09956ca204 --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-has-exslt-support.xml @@ -0,0 +1,53 @@ + + + + + xsl_xsltprocessor_has_exslt_support + Determine if PHP has EXSLT support + + + Description + Procedural style + + boolxsl_xsltprocessor_has_exslt_support + + + Object oriented style (method) + + xsltprocessor + + bool + hasExsltSupport + + + + &warn.experimental.func; + + xsl_xsltprocessor_has_exslt_support returns &true; + if PHP was built with the EXSLT library + , &false; otherwise. + + + + + + diff --git a/reference/xsl/functions/xsl-xsltprocessor-import-stylesheet.xml b/reference/xsl/functions/xsl-xsltprocessor-import-stylesheet.xml new file mode 100644 index 0000000000..57b3681d3b --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-import-stylesheet.xml @@ -0,0 +1,48 @@ + + + + + xsl_xsltprocessor_import_stylesheet + + + + Description + Procedural style + + boolxsl_xsltprocessor_import_stylesheet + nodeindex + + Object oriented style (method) + + xsltprocessor + + bool + importStylesheet + nodeindex + + + &warn.experimental.func; + &warn.undocumented.func; + + + + diff --git a/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml b/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml new file mode 100644 index 0000000000..c65c25a981 --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-register-php-functions.xml @@ -0,0 +1,51 @@ + + + + + xsl_xsltprocessor_register_php_functions + Enables the ability to use PHP functions as XSLT functions + + + Description + Procedural style + + voidxsl_xsltprocessor_register_php_functions + + + Object oriented style (method) + + xsltprocessor + + void + registerPHPFunctions + + + + &warn.experimental.func; + + xsl_xsltprocessor_register_php_functions enables the + ability to use PHP functions as XSLT functions within XSL stylesheets. + + + + + diff --git a/reference/xsl/functions/xsl-xsltprocessor-remove-parameter.xml b/reference/xsl/functions/xsl-xsltprocessor-remove-parameter.xml new file mode 100644 index 0000000000..a84f3135d4 --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-remove-parameter.xml @@ -0,0 +1,50 @@ + + + + + xsl_xsltprocessor_remove_parameter + + + + Description + Procedural style + + boolxsl_xsltprocessor_remove_parameter + stringnamespace + stringname + + Object oriented style (method) + + xsltprocessor + + bool + removeParameter + stringnamespace + stringname + + + &warn.experimental.func; + &warn.undocumented.func; + + + + diff --git a/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml b/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml new file mode 100644 index 0000000000..5c7a6bb134 --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-set-parameter.xml @@ -0,0 +1,52 @@ + + + + + xsl_xsltprocessor_set_parameter + + + + Description + Procedural style + + boolxsl_xsltprocessor_set_parameter + stringnamespace + stringname + stringvalue + + Object oriented style (method) + + xsltprocessor + + bool + setParameter + stringnamespace + stringname + stringvalue + + + &warn.experimental.func; + &warn.undocumented.func; + + + + diff --git a/reference/xsl/functions/xsl-xsltprocessor-transform-to-doc.xml b/reference/xsl/functions/xsl-xsltprocessor-transform-to-doc.xml new file mode 100644 index 0000000000..98fe8b4f21 --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-transform-to-doc.xml @@ -0,0 +1,50 @@ + + + + + xsl_xsltprocessor_transform_to_doc + + + + Description + Procedural style + + bool>xsl_xsltprocessor_transform_to_doc + nodedoc + boolclone + + Object oriented style (method) + + xsltprocessor + + bool + transformToDoc + nodedoc + boolclone + + + &warn.experimental.func; + &warn.undocumented.func; + + + + diff --git a/reference/xsl/functions/xsl-xsltprocessor-transform-to-uri.xml b/reference/xsl/functions/xsl-xsltprocessor-transform-to-uri.xml new file mode 100644 index 0000000000..b54faee7d3 --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-transform-to-uri.xml @@ -0,0 +1,52 @@ + + + + + xsl_xsltprocessor_transform_to_uri + + + + Description + Procedural style + + boolxsl_xsltprocessor_transform_to_uri + nodedoc + stringuri + boolclone + + Object oriented style (method) + + xsltprocessor + + bool + transformToUri + nodedoc + stringuri + boolclone + + + &warn.experimental.func; + &warn.undocumented.func; + + + + diff --git a/reference/xsl/functions/xsl-xsltprocessor-transform-to-xml.xml b/reference/xsl/functions/xsl-xsltprocessor-transform-to-xml.xml new file mode 100644 index 0000000000..ac70d5a587 --- /dev/null +++ b/reference/xsl/functions/xsl-xsltprocessor-transform-to-xml.xml @@ -0,0 +1,50 @@ + + + + + xsl_xsltprocessor_transform_to_xml + + + + Description + Procedural style + + boolxsl_xsltprocessor_transform_to_xml + nodedoc + boolclone + + Object oriented style (method) + + xsltprocessor + + bool + transformToXml + nodedoc + boolclone + + + &warn.experimental.func; + &warn.undocumented.func; + + + + diff --git a/reference/xsl/reference.xml b/reference/xsl/reference.xml index e4f93e034e..b6e7e0d230 100644 --- a/reference/xsl/reference.xml +++ b/reference/xsl/reference.xml @@ -1,5 +1,5 @@ - + XSL functions XSL @@ -18,10 +18,10 @@
&reftitle.install; - PHP 5 includes the XSL extension by default, and it can be enabled + PHP 5 includes the XSL extension by default and it can be enabled by adding the argument to your configure line. DIR is the libxslt installation - directory. + directory. libxslt version 1.0.18 or greater is required.