From d49cd8fceae6609e365e73374deb6a5e3eb198b1 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Tue, 3 Aug 2004 14:33:40 +0000 Subject: [PATCH] switch to multiple refsect1 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@165083 c90b9560-bf6c-de11-be94-00142212c4b1 --- .../xslt/functions/xslt-backend-info.xml | 8 ++-- .../xslt/functions/xslt-backend-name.xml | 23 ++++++----- .../xslt/functions/xslt-backend-version.xml | 23 ++++++----- reference/xslt/functions/xslt-create.xml | 22 ++++++----- reference/xslt/functions/xslt-errno.xml | 7 +++- reference/xslt/functions/xslt-error.xml | 24 +++++++----- reference/xslt/functions/xslt-free.xml | 7 +++- reference/xslt/functions/xslt-getopt.xml | 6 ++- .../xslt/functions/xslt-set-error-handler.xml | 32 ++++++++------- reference/xslt/functions/xslt-set-log.xml | 21 +++++----- reference/xslt/functions/xslt-set-object.xml | 17 ++++---- .../xslt/functions/xslt-set-sax-handlers.xml | 39 +++++++++---------- reference/xslt/functions/xslt-setopt.xml | 21 +++++----- 13 files changed, 142 insertions(+), 108 deletions(-) diff --git a/reference/xslt/functions/xslt-backend-info.xml b/reference/xslt/functions/xslt-backend-info.xml index 4e82fbcc75..835ac3d2ac 100755 --- a/reference/xslt/functions/xslt-backend-info.xml +++ b/reference/xslt/functions/xslt-backend-info.xml @@ -1,5 +1,5 @@ - + xslt_backend_info @@ -18,9 +18,11 @@ information about the compilation setting of the backend or an error string when no information available. + + + &reftitle.seealso; - See also - xslt_backend_name and + xslt_backend_name&listendand; xslt_backend_version. diff --git a/reference/xslt/functions/xslt-backend-name.xml b/reference/xslt/functions/xslt-backend-name.xml index 3c51ca0d25..9273a067d8 100755 --- a/reference/xslt/functions/xslt-backend-name.xml +++ b/reference/xslt/functions/xslt-backend-name.xml @@ -1,5 +1,5 @@ - + xslt_backend_name @@ -17,10 +17,12 @@ xslt_backend_name will always return Sablotron. - - - <function>xslt_backend_name</function> example - + + + &reftitle.examples; + + <function>xslt_backend_name</function> example + ]]> - - - + + + + + &reftitle.seealso; - See also - xslt_backend_info and + xslt_backend_info&listendand; xslt_backend_version. diff --git a/reference/xslt/functions/xslt-backend-version.xml b/reference/xslt/functions/xslt-backend-version.xml index 01c861619b..9a94c8708a 100755 --- a/reference/xslt/functions/xslt-backend-version.xml +++ b/reference/xslt/functions/xslt-backend-version.xml @@ -1,5 +1,5 @@ - + xslt_backend_version @@ -18,10 +18,12 @@ number of Sablotron if available, &false; otherwise. - - - <function>xslt_backend_version</function> example - + + + &reftitle.examples; + + <function>xslt_backend_version</function> example + ]]> - - - + + + + + &reftitle.seealso; - See also - xslt_backend_name and + xslt_backend_name&listendand; xslt_backend_info. diff --git a/reference/xslt/functions/xslt-create.xml b/reference/xslt/functions/xslt-create.xml index 8e816e0302..9d76d83bfd 100644 --- a/reference/xslt/functions/xslt-create.xml +++ b/reference/xslt/functions/xslt-create.xml @@ -1,5 +1,5 @@ - + @@ -16,10 +16,12 @@ Create and return a new XSLT processor resource for manipulation by the other XSLT functions. - - - <function>xslt_create</function> example - + + + &reftitle.examples; + + <function>xslt_create</function> example + ]]> - - - + + + + + &reftitle.seealso; - See also xslt_free. + xslt_free. diff --git a/reference/xslt/functions/xslt-errno.xml b/reference/xslt/functions/xslt-errno.xml index 8389955a69..3e432f9bee 100644 --- a/reference/xslt/functions/xslt-errno.xml +++ b/reference/xslt/functions/xslt-errno.xml @@ -1,5 +1,5 @@ - + @@ -16,8 +16,11 @@ Returns an error code describing the last error that occurred on the passed XSLT processor. + + + &reftitle.seealso; - See also xslt_error. + xslt_error. diff --git a/reference/xslt/functions/xslt-error.xml b/reference/xslt/functions/xslt-error.xml index f4ad3dd5be..9036cb8c8b 100644 --- a/reference/xslt/functions/xslt-error.xml +++ b/reference/xslt/functions/xslt-error.xml @@ -1,5 +1,5 @@ - + @@ -16,13 +16,15 @@ Returns a string describing the last error that occurred on the passed XSLT processor. - - - + </refsect1> + <refsect1> + &reftitle.examples; + <example> + <title> Handling errors using the <function>xslt_error</function> and <function>xslt_errno</function> functions. - - + + ]]> - - - + + + + + &reftitle.seealso; - See also xslt_errno. + xslt_errno. diff --git a/reference/xslt/functions/xslt-free.xml b/reference/xslt/functions/xslt-free.xml index 42b3a31d3f..d402ca57ac 100644 --- a/reference/xslt/functions/xslt-free.xml +++ b/reference/xslt/functions/xslt-free.xml @@ -1,5 +1,5 @@ - + @@ -15,8 +15,11 @@ Free the XSLT processor identified by the given handle. + + + &reftitle.seealso; - See also xslt_create + xslt_create diff --git a/reference/xslt/functions/xslt-getopt.xml b/reference/xslt/functions/xslt-getopt.xml index 2d3e6353f6..0f90a2ac6c 100755 --- a/reference/xslt/functions/xslt-getopt.xml +++ b/reference/xslt/functions/xslt-getopt.xml @@ -1,5 +1,5 @@ - + xslt_getopt @@ -17,8 +17,10 @@ xslt_getopt returns the options on the given processor. + + + &reftitle.seealso; - See also: xslt_setopt. diff --git a/reference/xslt/functions/xslt-set-error-handler.xml b/reference/xslt/functions/xslt-set-error-handler.xml index 4f9a6f85cb..ea8beb2c9b 100644 --- a/reference/xslt/functions/xslt-set-error-handler.xml +++ b/reference/xslt/functions/xslt-set-error-handler.xml @@ -1,5 +1,5 @@ - + @@ -31,10 +31,12 @@ arraymessages - - - <function>xslt_set_error_handler</function> Example - + + + &reftitle.examples; + + <function>xslt_set_error_handler</function> Example + ]]> - - - This example will output something similar to: - - + + + This example will output something similar to: + + @@ -98,11 +100,13 @@ array(4) { } } ]]> - - - + + + + + &reftitle.seealso; - See also xslt_set_object if you want to use an + xslt_set_object if you want to use an object method as handler. diff --git a/reference/xslt/functions/xslt-set-log.xml b/reference/xslt/functions/xslt-set-log.xml index 5aee8dfe84..7f688dc1ef 100644 --- a/reference/xslt/functions/xslt-set-log.xml +++ b/reference/xslt/functions/xslt-set-log.xml @@ -1,5 +1,5 @@ - + @@ -44,10 +44,15 @@ By default logging is disabled, in order to enable logging you must first call xslt_set_log with a boolean parameter which enables logging, then if you want to set the log file to debug to, - you must then pass it a string containing the filename: - - Using the XSLT Logging features - + you must then pass it a string containing the filename. + + ¬e.xslt.windows; + + + &reftitle.examples; + + Using the XSLT Logging features + ]]> - - - - ¬e.xslt.windows; + + diff --git a/reference/xslt/functions/xslt-set-object.xml b/reference/xslt/functions/xslt-set-object.xml index 121f7db95d..13e766a7a8 100755 --- a/reference/xslt/functions/xslt-set-object.xml +++ b/reference/xslt/functions/xslt-set-object.xml @@ -1,5 +1,5 @@ - + xslt_set_object @@ -26,10 +26,12 @@ xslt_set_error_handler and are assumed to be methods of object. - - - Using your own error handler as a method - + + + &reftitle.examples; + + Using your own error handler as a method + ]]> - - - + + diff --git a/reference/xslt/functions/xslt-set-sax-handlers.xml b/reference/xslt/functions/xslt-set-sax-handlers.xml index 203c3c94aa..9404e5e7a9 100644 --- a/reference/xslt/functions/xslt-set-sax-handlers.xml +++ b/reference/xslt/functions/xslt-set-sax-handlers.xml @@ -1,5 +1,5 @@ - + @@ -154,10 +154,12 @@ $handlers = array( running a SAX parser like xml_parse on the result of an xslt_process transformation. - - - <function>xslt_set_sax_handlers</function> Example - + + + &reftitle.examples; + + <function>xslt_set_sax_handlers</function> Example + $xml, "/_xsl"=> xslt_free($xh); ?> ]]> - - - + + You can also use xslt_set_object if you want to implement your handlers in an object. - - - Object oriented handler - + + Object oriented handler + ]]> - - - Both examples will output: - - + + + Both examples will output: + + GUSTAVE FLAUBERT @@ -327,9 +327,8 @@ $exec = new data_sax_handler($xml, $xsl); VIRGINIA WOOLF ]]> - - - + + diff --git a/reference/xslt/functions/xslt-setopt.xml b/reference/xslt/functions/xslt-setopt.xml index 4c266d6824..048799e7a7 100755 --- a/reference/xslt/functions/xslt-setopt.xml +++ b/reference/xslt/functions/xslt-setopt.xml @@ -1,5 +1,5 @@ - + xslt_setopt @@ -49,10 +49,12 @@ - - - <function>xslt_setopt</function> Example - + + + &reftitle.examples; + + <function>xslt_setopt</function> Example + ]]> - - - + + + + + &reftitle.seealso; - See also: xslt_getopt.