From f11d245be370db9eb915833c5ba18c5e4c79d9d7 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Thu, 22 Jul 2004 22:23:36 +0000 Subject: [PATCH] document xslt_getopt() and xslt_setopt() git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@164044 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/xslt/functions/xslt-getopt.xml | 13 +++-- reference/xslt/functions/xslt-setopt.xml | 61 ++++++++++++++++++++++-- 2 files changed, 67 insertions(+), 7 deletions(-) diff --git a/reference/xslt/functions/xslt-getopt.xml b/reference/xslt/functions/xslt-getopt.xml index 57935885ec..2d3e6353f6 100755 --- a/reference/xslt/functions/xslt-getopt.xml +++ b/reference/xslt/functions/xslt-getopt.xml @@ -1,5 +1,5 @@ - + xslt_getopt @@ -13,9 +13,14 @@ intxslt_getopt resourceprocessor - - &warn.undocumented.func; - + + xslt_getopt returns the options on the given + processor. + + + See also: + xslt_setopt. + diff --git a/reference/xslt/functions/xslt-setopt.xml b/reference/xslt/functions/xslt-setopt.xml index 9a5d679da3..b9504f8648 100755 --- a/reference/xslt/functions/xslt-setopt.xml +++ b/reference/xslt/functions/xslt-setopt.xml @@ -1,5 +1,5 @@ - + xslt_setopt @@ -14,9 +14,64 @@ resourceprocessor intnewmask + + xslt_setopt sets the options specified by + newmask on the given processor. + + + newmask is a bitmask constructed with the following + constants: + + + + XSLT_SABOPT_PARSE_PUBLIC_ENTITIES - Tell the processor + to parse public entities. By default this has been turned off. + + + + + XSLT_SABOPT_DISABLE_ADDING_META - Do not add the meta + tag "Content-Type" for HTML output. The default is set during the compilation + of the processor. + + + + + XSLT_SABOPT_DISABLE_STRIPPING - Suppress the whitespace + stripping (on data files only). + + + + + XSLT_SABOPT_IGNORE_DOC_NOT_FOUND - Consider unresolved + documents (the document() function) non-lethal. + + + + + + + + +]]> + + + + + See also: + xslt_getopt. + @@ -39,4 +94,4 @@ End: vim600: syn=xml fen fdm=syntax fdl=2 si vim: et tw=78 syn=sgml vi: ts=1 sw=1 ---> +--> \ No newline at end of file