cvs: phpdoc /de Translators /de/functions xslt.xml /de/language references.xml
| From: | Sebastian Bergmann | Date: | Mon, 13 Nov 2000 06:32:35 +0000 |
| Subject: | cvs: phpdoc /de Translators /de/functions xslt.xml /de/language references.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969332875@lists.php.net to get a copy of this message | ||
sbergmann Sun Nov 12 22:32:35 2000 EDT
Added files:
/phpdoc/de/functions xslt.xml
Modified files:
/phpdoc/de Translators
/phpdoc/de/language references.xml
Log:
Added xslt.xml from en/ tree. Worked a little on references.xml.
Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.134 phpdoc/de/Translators:1.135 --- phpdoc/de/Translators:1.134 Thu Oct 19 12:08:19 2000 +++ phpdoc/de/Translators Sun Nov 12 22:32:34 2000 @@ -108,6 +108,7 @@ vmailmgr.xml Jan Lehnardt fertig wddx.xml Jan Lehnardt fertig xml.xml Sven Lauer in Arbeit +xslt.xml zlib.xml Hartmut Holzgraefe in Arbeit -------- language ---------------------------------------------------------- basic-syntax.xml Sven Lauer fertig Index: phpdoc/de/language/references.xml diff -u phpdoc/de/language/references.xml:1.4 phpdoc/de/language/references.xml:1.5 --- phpdoc/de/language/references.xml:1.4 Sat Sep 30 02:04:56 2000 +++ phpdoc/de/language/references.xml Sun Nov 12 22:32:35 2000 @@ -42,9 +42,10 @@ </note> </para> <para> - The second thing references do is to pass variables - by-reference. This is done by making local function variable and - caller variable to be reference to the same content. Example: + Eine weitere Einsatzmöglichkeit von Referenzen ist die Übergabe + von Parametern an eine Funktion mit pass-by-reference. Hierbei + beziehen sich der lokale Variablenname als auch der Variablenname + der aufrufenden Instanz auf denselben Variableninhalt: <informalexample> <programlisting role="php"> function foo (&$var) { @@ -55,22 +56,24 @@ foo ($a); </programlisting> </informalexample> - will make <varname>$a</varname> to be 6. This happens because in - the function <varname>foo</varname> the variable - <varname>$var</varname> refers to the same content as - <varname>$a</varname>. + Nach der Ausführung hat <varname>$a</varname> den Wert 6, da sich + in der Funktion <varname>foo</varname> der Variablenname <varname>$var</varname> + auf denselben Variableninhalt bezieht wie <varname>$a</varname> + in der aufrufenden Instanz (hier das Hauptprogramm). </para> <simpara> - The third thing reference can do is <link - linkend="language.references.return">return by-reference</link>. + Daneben besteht die Möglichkeit aus Funktionen heraus Werte mit + <link linkend="language.references.return">return by-reference</link> + zurückzugeben. </simpara> </sect1> <sect1 id="language.references.arent"> <title>Was Referenzen nicht sind</title> <para> - As said above, references aren't pointers. That means, the - following construct won't do what you expect: + Wie bereits gesagt: Referenzen sind keine Zeiger. Das bedeutet, + der folgende Code tut nicht, was zum Beispiel ein C Programmierer + erwarten würde: <informalexample> <programlisting role="php"> function foo (&$var) { Index: phpdoc/de/functions/xslt.xml +++ phpdoc/de/functions/xslt.xml <reference id="ref.xml"> <title>XSLT functions</title> <titleabbrev>XSLT</titleabbrev> <partintro> <sect1 id="xslt.partintro"> <title>Introduction</title> <sect2 id="xslt.intro"> <title>About XSLT and Sablotron</title> <para> XSLT (Extensible Stylesheet Language (XSL) Transformations) is a language for transforming XML documents into other XML documents. It is a standard defined by The World Wide Web consortium (W3C). Information about XSLT and related technologies can be found at <ulink url="&url.xslt;">&url.xslt;</ulink>. </para> </sect2> <sect2 id="xslt.install"> <title>Installation</title> <para> This extension uses <productname>Sabloton</productname> and <productname>expat</productname>, which can both be found at <ulink url="&url.sablotron;">&url.sablotron;</ulink>. Binaries are provided as well as source. <para> On UNIX, run <command>configure</command> with the <option role="configure">--with-sablot</option> and <option role="configure">--enable-sablot-errors-descriptive</option> options. The <productname>Sablotron</productname> library should be installed somewhere your compiler can find it. </para> </sect2> <sect2 id="xslt.about"> <title>About This Extension</title> <para> This PHP extension implements support <productname>Sablotron</productname> from Ginger Alliance in PHP. This toolkit lets you transform XML documents into other documents, including new XML documents, but also into HTML or other target formats. It basically provides a standardized and portable template mechanism, separating content and design of a website. </para> <refentry id="function.xslt-closelog"> <refnamediv> <refname>xslt_closelog</refname> <refpurpose>Clear the logfile for a given instance of Sablotron</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_closelog</function></funcdef> <paramdef>resource <parameter>xh</parameter></paramdef> </funcprototype> </funcsynopsis> <para> <variablelist> <varlistentry> <term><parameter>xh</parameter></term> <listitem> <simpara> A reference to the XSLT parser. </simpara> </listitem> </varlistentry> </variablelist></para> <para> This function returns false if <parameter>parser</parameter> does not refer to a valid parser, or if the closing of the logfile fails. Otherwise it returns true. </para> </refsect1> </refentry> <refentry id="function.xslt-create"> <refnamediv> <refname>xslt_create</refname> <refpurpose>Create a new XSL processor.</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>resource <function>xslt_create</function></funcdef> <void/> </funcprototype> </funcsynopsis> <para> This function returns a handle for a new XSL processor. This handle is needed in all subsequent calls to XSL functions. </para> </refsect1> </refentry> <refentry id="function.xslt-errno"> <refnamediv> <refname>xslt_errno</refname> <refpurpose>Return the current error number</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>int <function>xslt_errno</function></funcdef> <paramdef> <parameter><optional>int xh</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Return the current error number of the given XSL processor. If no handle is given, the last error number that occured anywhere is returned. </para> </refsect1> </refentry> <refentry id="function.xslt-error"> <refnamediv> <refname>xslt_error</refname> <refpurpose>Return the current error string</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>mixed <function>xslt_error</function></funcdef> <paramdef> <parameter><optional>int xh</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Return the current error string of the given XSL processor. If no handle is given, the last error string that occured anywhere is returned. </para> </refsect1> </refentry> <refentry id="function.xslt-fetch-result"> <refnamediv> <refname>xslt_fetch_result</refname> <refpurpose>Fetch a (named) result buffer</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>string <function>xslt_fetch_result</function></funcdef> <paramdef> <parameter>int xh</parameter> <parameter><optional>string result_name</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Fetch a result buffer from the XSLT processor identified by the given handle. If no result name is given, the buffer named "/_result" is fetched. </para> </refsect1> </refentry> <refentry id="function.xslt-free"> <refnamediv> <refname>xslt_free</refname> <refpurpose>Free XSLT processor</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>void <function>xslt_free</function></funcdef> <paramdef> <parameter>resource xh</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Free the XSLT processor identified by the given handle. </para> </refsect1> </refentry> <refentry id="function.xslt-openlog"> <refnamediv> <refname>xslt_openlog</refname> <refpurpose>Set a logfile for XSLT processor messages</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_openlog</function></funcdef> <paramdef> <parameter>resource xh</parameter> <parameter>string logfile</parameter> <parameter><optional>int loglevel</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Set a logfile for the XSLT processor to place all of its error messages. </para> </refsect1> </refentry> <refentry id="function.xslt-output-begintransform"> <refnamediv> <refname>xslt_output_begintransform</refname> <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_output_begintransform</function></funcdef> <paramdef> <parameter>unknown</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> This function lacks a prototype definition. </para> </refsect1> </refentry> <refentry id="function.xslt-output-endtransform"> <refnamediv> <refname>xslt_output_endtransform</refname> <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_output_endtransform</function></funcdef> <paramdef> <parameter>unknown</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> This function lacks a prototype definition. </para> </refsect1> </refentry> <refentry id="function.xslt-process"> <refnamediv> <refname>xslt_output_process</refname> <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_process</function></funcdef> <paramdef> <parameter>unknown</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> This function lacks a prototype definition. </para> </refsect1> </refentry> <refentry id="function.xslt-run"> <refnamediv> <refname>xslt_run</refname> <refpurpose>Apply a XSLT stylesheet to a file.</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_run</function></funcdef> <paramdef> <parameter>resource xh</parameter> <parameter>string xslt_file</parameter> <parameter>string xml_data_file</parameter> <parameter><optional>string result</optional></parameter> <parameter><optional>array xslt_params</optional></parameter> <parameter><optional>array xslt_args</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Process the xml_data_file by applying the xslt_file stylesheet to it. The stylesheet has access to xslt_params and the processor is started with xslt_args. The result of the XSLT transformation is placed in the named buffer (default is "/_result"). </para> </refsect1> </refentry> <refentry id="function.xslt-set-sax-handler"> <refnamediv> <refname>xslt_set_sax_handler</refname> <refpurpose>Set SAX handlers for a XSLT processor</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_set_sax_handler</function></funcdef> <paramdef> <parameter>resource xh</parameter> <parameter>array handlers</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Set SAX handlers on the ressource handle given by xh. </para> </refsect1> </refentry> <refentry id="function.xslt-transform"> <refnamediv> <refname>xslt_transform</refname> <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_transform</function></funcdef> <paramdef> <parameter>unknown</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> This function lacks a prototype definition. </para> </refsect1> </refentry> </reference> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: -->
Index: phpdoc/de/Translators diff -u phpdoc/de/Translators:1.134 phpdoc/de/Translators:1.135 --- phpdoc/de/Translators:1.134 Thu Oct 19 12:08:19 2000 +++ phpdoc/de/Translators Sun Nov 12 22:32:34 2000 @@ -108,6 +108,7 @@ vmailmgr.xml Jan Lehnardt fertig wddx.xml Jan Lehnardt fertig xml.xml Sven Lauer in Arbeit +xslt.xml zlib.xml Hartmut Holzgraefe in Arbeit -------- language ---------------------------------------------------------- basic-syntax.xml Sven Lauer fertig Index: phpdoc/de/language/references.xml diff -u phpdoc/de/language/references.xml:1.4 phpdoc/de/language/references.xml:1.5 --- phpdoc/de/language/references.xml:1.4 Sat Sep 30 02:04:56 2000 +++ phpdoc/de/language/references.xml Sun Nov 12 22:32:35 2000 @@ -42,9 +42,10 @@ </note> </para> <para> - The second thing references do is to pass variables - by-reference. This is done by making local function variable and - caller variable to be reference to the same content. Example: + Eine weitere Einsatzmöglichkeit von Referenzen ist die Übergabe + von Parametern an eine Funktion mit pass-by-reference. Hierbei + beziehen sich der lokale Variablenname als auch der Variablenname + der aufrufenden Instanz auf denselben Variableninhalt: <informalexample> <programlisting role="php"> function foo (&$var) { @@ -55,22 +56,24 @@ foo ($a); </programlisting> </informalexample> - will make <varname>$a</varname> to be 6. This happens because in - the function <varname>foo</varname> the variable - <varname>$var</varname> refers to the same content as - <varname>$a</varname>. + Nach der Ausführung hat <varname>$a</varname> den Wert 6, da sich + in der Funktion <varname>foo</varname> der Variablenname <varname>$var</varname> + auf denselben Variableninhalt bezieht wie <varname>$a</varname> + in der aufrufenden Instanz (hier das Hauptprogramm). </para> <simpara> - The third thing reference can do is <link - linkend="language.references.return">return by-reference</link>. + Daneben besteht die Möglichkeit aus Funktionen heraus Werte mit + <link linkend="language.references.return">return by-reference</link> + zurückzugeben. </simpara> </sect1> <sect1 id="language.references.arent"> <title>Was Referenzen nicht sind</title> <para> - As said above, references aren't pointers. That means, the - following construct won't do what you expect: + Wie bereits gesagt: Referenzen sind keine Zeiger. Das bedeutet, + der folgende Code tut nicht, was zum Beispiel ein C Programmierer + erwarten würde: <informalexample> <programlisting role="php"> function foo (&$var) { Index: phpdoc/de/functions/xslt.xml +++ phpdoc/de/functions/xslt.xml <reference id="ref.xml"> <title>XSLT functions</title> <titleabbrev>XSLT</titleabbrev> <partintro> <sect1 id="xslt.partintro"> <title>Introduction</title> <sect2 id="xslt.intro"> <title>About XSLT and Sablotron</title> <para> XSLT (Extensible Stylesheet Language (XSL) Transformations) is a language for transforming XML documents into other XML documents. It is a standard defined by The World Wide Web consortium (W3C). Information about XSLT and related technologies can be found at <ulink url="&url.xslt;">&url.xslt;</ulink>. </para> </sect2> <sect2 id="xslt.install"> <title>Installation</title> <para> This extension uses <productname>Sabloton</productname> and <productname>expat</productname>, which can both be found at <ulink url="&url.sablotron;">&url.sablotron;</ulink>. Binaries are provided as well as source. <para> On UNIX, run <command>configure</command> with the <option role="configure">--with-sablot</option> and <option role="configure">--enable-sablot-errors-descriptive</option> options. The <productname>Sablotron</productname> library should be installed somewhere your compiler can find it. </para> </sect2> <sect2 id="xslt.about"> <title>About This Extension</title> <para> This PHP extension implements support <productname>Sablotron</productname> from Ginger Alliance in PHP. This toolkit lets you transform XML documents into other documents, including new XML documents, but also into HTML or other target formats. It basically provides a standardized and portable template mechanism, separating content and design of a website. </para> <refentry id="function.xslt-closelog"> <refnamediv> <refname>xslt_closelog</refname> <refpurpose>Clear the logfile for a given instance of Sablotron</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_closelog</function></funcdef> <paramdef>resource <parameter>xh</parameter></paramdef> </funcprototype> </funcsynopsis> <para> <variablelist> <varlistentry> <term><parameter>xh</parameter></term> <listitem> <simpara> A reference to the XSLT parser. </simpara> </listitem> </varlistentry> </variablelist></para> <para> This function returns false if <parameter>parser</parameter> does not refer to a valid parser, or if the closing of the logfile fails. Otherwise it returns true. </para> </refsect1> </refentry> <refentry id="function.xslt-create"> <refnamediv> <refname>xslt_create</refname> <refpurpose>Create a new XSL processor.</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>resource <function>xslt_create</function></funcdef> <void/> </funcprototype> </funcsynopsis> <para> This function returns a handle for a new XSL processor. This handle is needed in all subsequent calls to XSL functions. </para> </refsect1> </refentry> <refentry id="function.xslt-errno"> <refnamediv> <refname>xslt_errno</refname> <refpurpose>Return the current error number</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>int <function>xslt_errno</function></funcdef> <paramdef> <parameter><optional>int xh</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Return the current error number of the given XSL processor. If no handle is given, the last error number that occured anywhere is returned. </para> </refsect1> </refentry> <refentry id="function.xslt-error"> <refnamediv> <refname>xslt_error</refname> <refpurpose>Return the current error string</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>mixed <function>xslt_error</function></funcdef> <paramdef> <parameter><optional>int xh</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Return the current error string of the given XSL processor. If no handle is given, the last error string that occured anywhere is returned. </para> </refsect1> </refentry> <refentry id="function.xslt-fetch-result"> <refnamediv> <refname>xslt_fetch_result</refname> <refpurpose>Fetch a (named) result buffer</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>string <function>xslt_fetch_result</function></funcdef> <paramdef> <parameter>int xh</parameter> <parameter><optional>string result_name</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Fetch a result buffer from the XSLT processor identified by the given handle. If no result name is given, the buffer named "/_result" is fetched. </para> </refsect1> </refentry> <refentry id="function.xslt-free"> <refnamediv> <refname>xslt_free</refname> <refpurpose>Free XSLT processor</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>void <function>xslt_free</function></funcdef> <paramdef> <parameter>resource xh</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Free the XSLT processor identified by the given handle. </para> </refsect1> </refentry> <refentry id="function.xslt-openlog"> <refnamediv> <refname>xslt_openlog</refname> <refpurpose>Set a logfile for XSLT processor messages</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_openlog</function></funcdef> <paramdef> <parameter>resource xh</parameter> <parameter>string logfile</parameter> <parameter><optional>int loglevel</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Set a logfile for the XSLT processor to place all of its error messages. </para> </refsect1> </refentry> <refentry id="function.xslt-output-begintransform"> <refnamediv> <refname>xslt_output_begintransform</refname> <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_output_begintransform</function></funcdef> <paramdef> <parameter>unknown</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> This function lacks a prototype definition. </para> </refsect1> </refentry> <refentry id="function.xslt-output-endtransform"> <refnamediv> <refname>xslt_output_endtransform</refname> <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_output_endtransform</function></funcdef> <paramdef> <parameter>unknown</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> This function lacks a prototype definition. </para> </refsect1> </refentry> <refentry id="function.xslt-process"> <refnamediv> <refname>xslt_output_process</refname> <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_process</function></funcdef> <paramdef> <parameter>unknown</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> This function lacks a prototype definition. </para> </refsect1> </refentry> <refentry id="function.xslt-run"> <refnamediv> <refname>xslt_run</refname> <refpurpose>Apply a XSLT stylesheet to a file.</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_run</function></funcdef> <paramdef> <parameter>resource xh</parameter> <parameter>string xslt_file</parameter> <parameter>string xml_data_file</parameter> <parameter><optional>string result</optional></parameter> <parameter><optional>array xslt_params</optional></parameter> <parameter><optional>array xslt_args</optional></parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Process the xml_data_file by applying the xslt_file stylesheet to it. The stylesheet has access to xslt_params and the processor is started with xslt_args. The result of the XSLT transformation is placed in the named buffer (default is "/_result"). </para> </refsect1> </refentry> <refentry id="function.xslt-set-sax-handler"> <refnamediv> <refname>xslt_set_sax_handler</refname> <refpurpose>Set SAX handlers for a XSLT processor</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>bool <function>xslt_set_sax_handler</function></funcdef> <paramdef> <parameter>resource xh</parameter> <parameter>array handlers</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> Set SAX handlers on the ressource handle given by xh. </para> </refsect1> </refentry> <refentry id="function.xslt-transform"> <refnamediv> <refname>xslt_transform</refname> <refpurpose>unknown</refpurpose> </refnamediv> <refsect1> <title>Description</title> <funcsynopsis> <funcprototype> <funcdef>unknown <function>xslt_transform</function></funcdef> <paramdef> <parameter>unknown</parameter> </paramdef> </funcprototype> </funcsynopsis> <para> This function lacks a prototype definition. </para> </refsect1> </refentry> </reference> <!-- 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 sgml-parent-document:nil sgml-default-dtd-file:"../../manual.ced" sgml-exposed-tags:nil sgml-local-catalogs:nil sgml-local-ecat-files:nil End: -->