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 @@
- 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:
function foo (&$var) {
@@ -55,22 +56,24 @@
foo ($a);
- will make $a to be 6. This happens because in
- the function foo the variable
- $var refers to the same content as
- $a.
+ Nach der Ausführung hat $a den Wert 6, da sich
+ in der Funktion foo der Variablenname $var
+ auf denselben Variableninhalt bezieht wie $a
+ in der aufrufenden Instanz (hier das Hauptprogramm).
- The third thing reference can do is return by-reference.
+ Daneben besteht die Möglichkeit aus Funktionen heraus Werte mit
+ return by-reference
+ zurückzugeben.
Was Referenzen nicht sind
- 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:
function foo (&$var) {
Index: phpdoc/de/functions/xslt.xml
+++ phpdoc/de/functions/xslt.xml
XSLT functionsXSLTIntroductionAbout XSLT and Sablotron
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 &url.xslt;.
Installation
This extension uses Sabloton
and expat, which can both be
found at &url.sablotron;. Binaries
are provided as well as source.
On UNIX, run configure with the and
options. The Sablotron library
should be installed somewhere your compiler can find it.
About This Extension
This PHP extension implements support
Sablotron 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.
xslt_closelogClear the logfile for a given instance of SablotronDescriptionbool xslt_closelogresource xhxh
A reference to the XSLT parser.
This function returns false if parser does
not refer to a valid parser, or if the closing of the logfile
fails. Otherwise it returns true.
xslt_createCreate a new XSL processor.Descriptionresource xslt_create
This function returns a handle for a new XSL processor. This handle
is needed in all subsequent calls to XSL functions.
xslt_errnoReturn the current error numberDescriptionint xslt_errnoint xh
Return the current error number of the given XSL processor. If
no handle is given, the last error number that occured anywhere
is returned.
xslt_errorReturn the current error stringDescriptionmixed xslt_errorint xh
Return the current error string of the given XSL processor. If
no handle is given, the last error string that occured anywhere
is returned.
xslt_fetch_resultFetch a (named) result bufferDescriptionstring xslt_fetch_resultint xhstring result_name
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.
xslt_freeFree XSLT processorDescriptionvoid xslt_freeresource xh
Free the XSLT processor identified by the given handle.
xslt_openlogSet a logfile for XSLT processor messagesDescriptionbool xslt_openlogresource xhstring logfileint loglevel
Set a logfile for the XSLT processor to place all of its error
messages.
xslt_output_begintransformunknownDescriptionunknown xslt_output_begintransformunknown
This function lacks a prototype definition.
xslt_output_endtransformunknownDescriptionunknown xslt_output_endtransformunknown
This function lacks a prototype definition.
xslt_output_processunknownDescriptionunknown xslt_processunknown
This function lacks a prototype definition.
xslt_runApply a XSLT stylesheet to a file.Descriptionbool xslt_runresource xhstring xslt_filestring xml_data_filestring resultarray xslt_paramsarray xslt_args
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").
xslt_set_sax_handlerSet SAX handlers for a XSLT processorDescriptionbool xslt_set_sax_handlerresource xharray handlers
Set SAX handlers on the ressource handle given by xh.
xslt_transformunknownDescriptionunknown xslt_transformunknown
This function lacks a prototype definition.