cortesi Wed May 1 15:06:23 2002 EDT Modified files: /phpdoc/it/reference/xslt/functions xslt-create.xml xslt-errno.xml xslt-error.xml xslt-free.xml xslt-process.xml xslt-set-base.xml xslt-set-encoding.xml xslt-set-error-handler.xml xslt-set-log.xml xslt-set-sax-handler.xml xslt-set-sax-handlers.xml xslt-set-scheme-handler.xml xslt-set-scheme-handlers.xml Log: general update to current EN
Index: phpdoc/it/reference/xslt/functions/xslt-create.xml diff -u phpdoc/it/reference/xslt/functions/xslt-create.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-create.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-create.xml:1.2 Wed Apr 17 03:09:01 2002 +++ phpdoc/it/reference/xslt/functions/xslt-create.xml Wed May 1 15:06:23 2002 @@ -1,43 +1,40 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-create' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-create"> - <refnamediv> - <refname>xslt_create</refname> - <refpurpose>Crea un nuovo processore XSLT.</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>resource</type><methodname>xslt_create</methodname> - <void/> - </methodsynopsis> - <para> - Crea e restituisce un nuovo processore XSLT riorsa per la modifica dalle - altre funzioni XSLT. - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.3 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-create"> + <refnamediv> + <refname>xslt_create</refname> + <refpurpose>Crea un nuovo processore XSLT</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>resource</type><methodname>xslt_create</methodname> + <void/> + </methodsynopsis> + <para> + Crea e restituisce un nuovo processore XSLT risorsa per la modifica dalle + altre funzioni XSLT. + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-errno.xml diff -u phpdoc/it/reference/xslt/functions/xslt-errno.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-errno.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-errno.xml:1.2 Wed Apr 17 03:09:01 2002 +++ phpdoc/it/reference/xslt/functions/xslt-errno.xml Wed May 1 15:06:23 2002 @@ -1,8 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-errno' in en/ tree in rev 1.3 --> <!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> <refentry id="function.xslt-errno"> <refnamediv> <refname>xslt_errno</refname> Index: phpdoc/it/reference/xslt/functions/xslt-error.xml diff -u phpdoc/it/reference/xslt/functions/xslt-error.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-error.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-error.xml:1.2 Wed Apr 17 03:09:01 2002 +++ phpdoc/it/reference/xslt/functions/xslt-error.xml Wed May 1 15:06:23 2002 @@ -1,68 +1,65 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-error' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-error"> - <refnamediv> - <refname>xslt_error</refname> - <refpurpose>Restituisce una stringa di errore</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>mixed</type><methodname>xslt_error</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - </methodsynopsis> - <para> - Restituisce una stringa che descrive l'ultimo errore successo sul - processore XSLT indicato. - </para> - <para> - <example> - <title> - Gli errori di Handling usano le funzioni <function>xslt_error</function> e - <function>xslt_errno</function>. - </title> - <programlisting role="php"> -<![CDATA[ -<?php - -$xh = xslt_create(); -$result = xslt_process($xh, 'dog.xml', 'pets.xsl'); -if (!$result) { - die(sprintf("Cannot process XSLT document [%d]: %s", - xslt_errno($xh), xslt_error($xh))); -} - -print($result); - -xslt_free($xh); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-error"> + <refnamediv> + <refname>xslt_error</refname> + <refpurpose>Restituisce una stringa di errore</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>mixed</type><methodname>xslt_error</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + </methodsynopsis> + <para> + Restituisce una stringa che descrive l'ultimo errore restituito dal + processore XSLT indicato. + </para> + <para> + <example> + <title> + Gli errori di Handling usano le funzioni <function>xslt_error</function> e + <function>xslt_errno</function>. + </title> + <programlisting role="php"> +<![CDATA[ +<?php + +$xh = xslt_create(); +$result = xslt_process($xh, 'dog.xml', 'pets.xsl'); +if (!$result) { + die(sprintf("Cannot process XSLT document [%d]: %s", + xslt_errno($xh), xslt_error($xh))); +} + +print($result); + +xslt_free($xh); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-free.xml diff -u phpdoc/it/reference/xslt/functions/xslt-free.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-free.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-free.xml:1.2 Wed Apr 17 03:09:03 2002 +++ phpdoc/it/reference/xslt/functions/xslt-free.xml Wed May 1 15:06:23 2002 @@ -1,42 +1,39 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-free' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-free"> - <refnamediv> - <refname>xslt_free</refname> - <refpurpose>Processore XSLT libero</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_free</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - </methodsynopsis> - <para> - Libera il processore XSLT identificato dall'handle dato. - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-free"> + <refnamediv> + <refname>xslt_free</refname> + <refpurpose>Libera un processore XSLT</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_free</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + </methodsynopsis> + <para> + Libera il processore XSLT identificato dall'handle dato. + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-process.xml diff -u phpdoc/it/reference/xslt/functions/xslt-process.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-process.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-process.xml:1.2 Wed Apr 17 03:09:04 2002 +++ phpdoc/it/reference/xslt/functions/xslt-process.xml Wed May 1 15:06:23 2002 @@ -1,181 +1,178 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-process' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-process"> - <refnamediv> - <refname>xslt_process</refname> - <refpurpose>Esegue una trasformazione XSLT</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>mixed</type><methodname>xslt_process</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - <methodparam><type>string</type><parameter>xml</parameter></methodparam> - <methodparam><type>string</type><parameter>xsl</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>result</parameter></methodparam> - <methodparam choice="opt"><type>array</type><parameter>arguments</parameter></methodparam> - <methodparam choice="opt"><type>array</type><parameter>parameters</parameter></methodparam> - </methodsynopsis> - <para> - La funzione xslt_process() è una delle più importanti della nuova estensione XSLT. - Permette di eseguire una trasformazione XSLT usando quasi ogni tipo di - fonte di input. Questa è un completamente attraverso l'uso dell'argomento - buffers -- un concetto proso dal processore XSLT Sablotron - (attualmente l'unico processore XSLT che questa estensione supporta). - </para> - <para> - Il più semplice tipo di trasformazione con la funzione <function>xslt_process()</function> - è la trasformazione di un file XML con un file XSLT, mettendo il - risultato in un terzo file contenente un nuovo documento XML (o HTML). - Fare questo con sablotron è davvero molto semplice... - </para> - <example> - <title>Uso di <function>xslt_process</function> per trasformare un file XML e un file XSL - in un nuovo file XML</title> - <programlisting role="php"> -<![CDATA[ -<?php - -// Allocate a new XSLT processor -$xh = xslt_create(); - -// Process the document -if (xslt_process($xh, 'sample.xml', 'sample.xsl', 'result.xml')) { - print "SUCCESS, sample.xml was transformed by sample.xsl into result.xml"; - print ", result.xml has the following contents\n<br>\n"; - print "<pre>\n"; - readfile('result.xml'); - print "</pre>\n"; -} -else { - print "Sorry, sample.xml could not be transformed by sample.xsl into"; - print " result.xml the reason is that " . xslt_error($xh) . " and the "; - print "error code is " . xslt_errno($xh); -} - -xslt_free($xh); - -?> -]]> - </programlisting> - </example> - <para> - Mentre questa funzionalità è importante, a volte, specialmente in un ambiente web, si vorrebbe - avere la possibilità di stampare a video il risultato direttamente. Quindi, se si omette il terzo argomento - alla funzione <function>xslt_process</function> (o inserire il valore NULL oer l'argomento), lo script - restituirà automaticamente il valore della trasformazione dell'XSLT, invece di scriverlo in un - file... - </para> - <para> - <example> - <title>Uso di <function>xslt_process</function> per trasformare un file XML e uno XSL - in una variabile contenente i dati XML restituiti</title> - <programlisting role="php"> -<![CDATA[ -<?php - -// Allocate a new XSLT processor -$xh = xslt_create(); - -// Process the document, returning the result into the $result variable -$result = xslt_process($xh, 'sample.xml', 'sample.xsl'); -if ($result) { - print "SUCCESS, sample.xml was transformed by sample.xsl into the \$result"; - print " variable, the \$result variable has the following contents\n<br>\n"; - print "<pre>\n"; - print $result; - print "</pre>\n"; -} -else { - print "Sorry, sample.xml could not be transformed by sample.xsl into"; - print " the \$result variable the reason is that " . xslt_error($xh) . - print " and the error code is " . xslt_errno($xh); -} - -xslt_free($xh); - -?> -]]> - </programlisting> - </example> - </para> - <para> - I due casi sopra sono i due casi più semplici che ci sono quando c'è una trasformazione XSLT - e c'è da dire che dovreste essere per la maggior parte delle volte in questi casi, ma, a volte, puoi prendere il tuo - codice XML e XSLT da fonti esterne, come database e socket. In questi casi, avrai - i dati XML e/o XSLT in una variabile -- e nella produzione di applicazioni l'overhead per scaricare - questo codice al file potrebbere essere eccessivo. Questo è dove la sintassi "argument" dell'XSLT, viene al - salvataggio. Invece dei file come argomenti XML e XSLT alla funzione <function>xslt_process</function>, - puoi specificare l' "argument place holders" il quale è poi sostituito dal valore - dato nell'argomento dell'array (il quinto parametro della funzione <function>xslt_process</function>). - Di seguito c'è un esempio del processo di inserimento di codice XML e XSLT senza - l'ausilio di file. - </para> - <para> - <example> - <title>Uso di <function>xslt_process</function> per trasformare una variabile contenente dati XML - e una variabile contenente dati XSL in una variabile contenente i dati XML risultati</title> - <programlisting role="php"> -<![CDATA[ -<?php -// $xml and $xsl contain the XML and XSL data - -$arguments = array( - '/_xml' => $xml, - '/_xsl' => $xsl -); - -// Allocate a new XSLT processor -$xh = xslt_create(); - -// Process the document -$result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, $arguments); -if ($result) { - print "SUCCESS, sample.xml was transformed by sample.xsl into the \$result"; - print " variable, the \$result variable has the following contents\n<br>\n"; - print "<pre>\n"; - print $result; - print "</pre>\n"; -} -else { - print "Sorry, sample.xml could not be transformed by sample.xsl into"; - print " the \$result variable the reason is that " . xslt_error($xh) . - print " and the error code is " . xslt_errno($xh); -} -xslt_free($xh); -?> -]]> - </programlisting> - </example> - </para> - <para> - Finalmente, l'ultimo argomento della funzione <function>xslt_process</function> è dei parametri - che vuoi passare al documento XSLT. Questi parametri possono poi essere acceduti con - i tuoi files XSL usando l'istruzione <xsl:param name="parameter_name">. - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-process"> + <refnamediv> + <refname>xslt_process</refname> + <refpurpose>Esegue una trasformazione XSLT</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>mixed</type><methodname>xslt_process</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + <methodparam><type>string</type><parameter>xml</parameter></methodparam> + <methodparam><type>string</type><parameter>xsl</parameter></methodparam> + <methodparam +choice="opt"><type>string</type><parameter>result</parameter></methodparam> + <methodparam +choice="opt"><type>array</type><parameter>arguments</parameter></methodparam> + <methodparam +choice="opt"><type>array</type><parameter>parameters</parameter></methodparam> + </methodsynopsis> + <para> + La funzione xslt_process() è una delle più importanti della nuova estensione +XSLT. + Permette di eseguire una trasformazione XSLT usando quasi ogni tipo di + fonte per l'input. Questa è un completamento mediante l'uso dell'argomento + buffers -- un concetto preso dal processore XSLT Sablotron + (attualmente l'unico processore XSLT supportato da questa estensione). + </para> + <para> + Il più semplice tipo di trasformazione con la funzione +<function>xslt_process</function> + è la trasformazione di un file XML con un file XSLT, mettendo il + risultato in un terzo file contenente un nuovo documento XML (o HTML). + Fare questo con Sablotron è davvero molto semplice... + </para> + <example> + <title>Uso di <function>xslt_process</function> per trasformare un file XML e un +file XSL + in un nuovo file XML</title> + <programlisting role="php"> +<![CDATA[ +<?php + +// Allocate a new XSLT processor +$xh = xslt_create(); + +// Process the document +if (xslt_process($xh, 'sample.xml', 'sample.xsl', 'result.xml')) { + print "SUCCESS, sample.xml was transformed by sample.xsl into result.xml"; + print ", result.xml has the following contents\n<br>\n"; + print "<pre>\n"; + readfile('result.xml'); + print "</pre>\n"; +} +else { + print "Sorry, sample.xml could not be transformed by sample.xsl into"; + print " result.xml the reason is that " . xslt_error($xh) . " and the "; + print "error code is " . xslt_errno($xh); +} + +xslt_free($xh); + +?> +]]> + </programlisting> + </example> + <para> + Mentre questa funzionalità è importante, a volte, specialmente in un ambiente +web, si vorrebbe + avere la possibilità di scrivere a video il risultato direttamente. Quindi, se +si omette il terzo argomento + alla funzione <function>xslt_process</function> (o si inserisce il valore NULL +per l'argomento), lo script + restituirà automaticamente il valore della trasformazione dell'XSLT, invece di +scriverlo in un + file... + </para> + <para> + <example> + <title>Uso di <function>xslt_process</function> per trasformare un file XML e +uno XSL + in una variabile contenente i dati XML restituiti</title> + <programlisting role="php"> +<![CDATA[ +<?php + +// Allocate a new XSLT processor +$xh = xslt_create(); + +// Process the document, returning the result into the $result variable +$result = xslt_process($xh, 'sample.xml', 'sample.xsl'); +if ($result) { + print "SUCCESS, sample.xml was transformed by sample.xsl into the \$result"; + print " variable, the \$result variable has the following contents\n<br>\n"; + print "<pre>\n"; + print $result; + print "</pre>\n"; +} +else { + print "Sorry, sample.xml could not be transformed by sample.xsl into"; + print " the \$result variable the reason is that " . xslt_error($xh) . + print " and the error code is " . xslt_errno($xh); +} + +xslt_free($xh); + +?> +]]> + </programlisting> + </example> + </para> + <para> + I due casi sopra sono i due casi più semplici che ci sono quando c'è una +trasformazione XSLT + e c'è da dire che dovreste essere per la maggior parte delle volte in questi +casi, ma, a volte, puoi prendere il tuo + codice XML e XSLT da fonti esterne, come database e socket. In questi casi, avrai + i dati XML e/o XSLT in una variabile -- nella produzione di applicazioni +l'overhead per scaricare + questo codice al file potrebbere essere eccessivo. Qui la sinstassi degli +argomenti dell'XSLT ci + aiuta. Invece dei file come argomenti XML e XSLT alla funzione +<function>xslt_process</function>, + puoi specificare l' "argument place holders" il quale è poi sostituito +dal valore + dato nell'argomento dell'array (il quinto parametro della funzione +<function>xslt_process</function>). + Di seguito c'è un esempio del processo di inserimento di codice XML e XSLT senza + l'ausilio di file. + </para> + <para> + <example> + <title>Uso di <function>xslt_process</function> per trasformare una variabile +contenente dati XML + e una variabile contenente dati XSL in una variabile contenente i dati XML +risultanti</title> + <programlisting role="php"> +<![CDATA[ +<?php +// $xml and $xsl contain the XML and XSL data + +$arguments = array( + '/_xml' => $xml, + '/_xsl' => $xsl +); + +// Allocate a new XSLT processor +$xh = xslt_create(); + +// Process the document +$result = xslt_process($xh, 'arg:/_xml', 'arg:/_xsl', NULL, $arguments); +if ($result) { + print "SUCCESS, sample.xml was transformed by sample.xsl into the \$result"; + print " variable, the \$result variable has the following contents\n<br>\n"; + print "<pre>\n"; + print $result; + print "</pre>\n"; +} +else { + print "Sorry, sample.xml could not be transformed by sample.xsl into"; + print " the \$result variable the reason is that " . xslt_error($xh) . + print " and the error code is " . xslt_errno($xh); +} +xslt_free($xh); +?> +]]> + </programlisting> + </example> + </para> + <para> + Finalmente, l'ultimo argomento della funzione <function>xslt_process</function> +è dei parametri + che vuoi passare al documento XSLT. Questi parametri possono avere poi accesso +tramite + i tuoi files XSL usando l'istruzione <xsl:param +name="parameter_name">. + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-set-base.xml diff -u phpdoc/it/reference/xslt/functions/xslt-set-base.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-set-base.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-set-base.xml:1.2 Wed Apr 17 03:09:04 2002 +++ phpdoc/it/reference/xslt/functions/xslt-set-base.xml Wed May 1 15:06:23 +2002 @@ -1,45 +1,42 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-set-base' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-set-base"> - <refnamediv> - <refname>xslt_set_base</refname> - <refpurpose>Imposta l'URI di base per tuttte le trasformazioni XSLT</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_set_base</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - <methodparam><type>string</type><parameter>uri</parameter></methodparam> - </methodsynopsis> - <para> - Imposta l'URI di base per tutte le trasformazioni XSLT, l'URI di base è usato - con le istruzioni Xpath per la risoluzione di document() e di altri comandi che - accedono a risorse esterne. - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-set-base"> + <refnamediv> + <refname>xslt_set_base</refname> + <refpurpose>Imposta l'URI di base per tuttte le trasformazioni XSLT</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_set_base</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + <methodparam><type>string</type><parameter>uri</parameter></methodparam> + </methodsynopsis> + <para> + Imposta l'URI di base per tutte le trasformazioni XSLT, l'URI di base è usato + con le istruzioni Xpath per la risoluzione di document() e di altri comandi che + accedono a risorse esterne. + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-set-encoding.xml diff -u phpdoc/it/reference/xslt/functions/xslt-set-encoding.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-set-encoding.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-set-encoding.xml:1.2 Wed Apr 17 03:09:04 2002 +++ phpdoc/it/reference/xslt/functions/xslt-set-encoding.xml Wed May 1 15:06:23 +2002 @@ -1,45 +1,42 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-set-encoding' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-set-encoding"> - <refnamediv> - <refname>xslt_set_encoding</refname> - <refpurpose>Imposta l'encoding per il parsing dei documenti XML</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_set_encoding</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - <methodparam><type>string</type><parameter>encoding</parameter></methodparam> - </methodsynopsis> - <para> - Imposta l'output encoding per le trasformazioni XSLT. Quando è usato il - Sablotron backend quasta opzione è disponibile solo qualndo compili - Sablotron con il supporto per l'encoding. - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-set-encoding"> + <refnamediv> + <refname>xslt_set_encoding</refname> + <refpurpose>Imposta l'encoding per il parsing dei documenti XML</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_set_encoding</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + <methodparam><type>string</type><parameter>encoding</parameter></methodparam> + </methodsynopsis> + <para> + Imposta l'output encoding per le trasformazioni XSLT. Quando è usato il + Sablotron backend quasta opzione è disponibile solo quando compili + Sablotron con il supporto per l'encoding. + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-set-error-handler.xml diff -u phpdoc/it/reference/xslt/functions/xslt-set-error-handler.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-set-error-handler.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-set-error-handler.xml:1.2 Wed Apr 17 03:09:04 2002 +++ phpdoc/it/reference/xslt/functions/xslt-set-error-handler.xml Wed May 1 +15:06:23 2002 @@ -1,45 +1,42 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-set-error-handler' in en/ tree in rev 1.1 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.1 --> - <refentry id="function.xslt-set-error-handler"> - <refnamediv> - <refname>xslt_set_error_handler</refname> - <refpurpose>Imposta un error handler per un processore XSLT</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_set_error_handler</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - <methodparam><type>mixed</type><parameter>handler</parameter></methodparam> - </methodsynopsis> - <para> - Imposta una funzione di error handler per il processore XSLT dato da <parameter>xh</parameter>, - questa funzione sarà richiamata quando ha luogo un errore nella trasformazione XSLT - (questa funzione è anche chiamata per le notizie). - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-set-error-handler"> + <refnamediv> + <refname>xslt_set_error_handler</refname> + <refpurpose>Imposta un error handler per un processore XSLT</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_set_error_handler</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + <methodparam><type>mixed</type><parameter>handler</parameter></methodparam> + </methodsynopsis> + <para> + Imposta una funzione di error handler per il processore XSLT dato da +<parameter>xh</parameter>, + questa funzione sarà richiamata quando ha luogo un errore nella trasformazione +XSLT + (questa funzione è anche richiamata per le nuove notizie dallo script). + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-set-log.xml diff -u phpdoc/it/reference/xslt/functions/xslt-set-log.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-set-log.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-set-log.xml:1.2 Wed Apr 17 03:09:04 2002 +++ phpdoc/it/reference/xslt/functions/xslt-set-log.xml Wed May 1 15:06:23 2002 @@ -1,92 +1,89 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-set-log' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-set-log"> - <refnamediv> - <refname>xslt_set_log</refname> - <refpurpose>Imposta il file di log per scrivere il messaggio di log a</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_set_log</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - <methodparam><type>mixed</type><parameter>log</parameter></methodparam> - </methodsynopsis> - <para> - <variablelist> - <varlistentry> - <term><parameter>xh</parameter></term> - <listitem> - <simpara> - Un riferimento all'XSLT parser. - </simpara> - </listitem> - </varlistentry> - <varlistentry> - <term><parameter>log</parameter></term> - <listitem> - <simpara> - Questo parametro è o un valore booleano che può essere settato su on o off, oppure una - stringa contenente il file di log incluso dei log di errore. - </simpara> - </listitem> - </varlistentry> - </variablelist></para> - <para> - Questa funzione permette di impostare il file nel quale vuoi i messaggi di log di XSLT, - i messaggi di log di XSLT sono differenti dagli altri messaggi di errore, nei quali messaggi di log non siano - presenti i messaggi di errore ma piuttosto messaggi inerenti allo stato del processore di XSLT. - Sono usati per il debugging dell'XSLT, quando qualcosa va storto. - </para> - <para> - Per default il logging è disabilitato, ma se vuoi abilitarlo devi prima richiamare - <function>xslt_set_log</function> con un parametro booleano il quale abilita il logging, poi se - vuoi impostare il file di log per fare il debug, devi poi passargli una stringa contenente il - nome del file: - <example> - <title> - Uso delle features del Logging di XSLT - </title> - <programlisting role="php"> -<![CDATA[ -<?php - -$xh = xslt_create(); -xslt_set_log($xh, true); -xslt_set_log($xh, getcwd() . 'myfile.log'); - -$result = xslt_process($xh, 'dog.xml', 'pets.xsl'); -print($result); - -xslt_free($xh); -?> -]]> - </programlisting> - </example> - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-set-log"> + <refnamediv> + <refname>xslt_set_log</refname> + <refpurpose>Imposta il file di log per scrivere i messaggi di log</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_set_log</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + <methodparam><type>mixed</type><parameter>log</parameter></methodparam> + </methodsynopsis> + <para> + <variablelist> + <varlistentry> + <term><parameter>xh</parameter></term> + <listitem> + <simpara> + Un riferimento all'XSLT parser. + </simpara> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>log</parameter></term> + <listitem> + <simpara> + Questo parametro può essere un valore booleano che può essere settato su on o +off oppure una + stringa contenente il file di log incluso dei log di errore. + </simpara> + </listitem> + </varlistentry> + </variablelist></para> + <para> + Questa funzione permette di impostare il file nel quale vuoi i messaggi di log di +XSLT, + i messaggi di log di XSLT sono differenti dagli altri messaggi di errore, nei +quali messaggi di log non siano + presenti i messaggi di errore ma piuttosto messaggi inerenti allo stato del +processore di XSLT. + Sono usati per il debugging dell'XSLT, quando qualcosa va storto. + </para> + <para> + Per default il logging è disabilitato, ma se vuoi abilitarlo devi prima richiamare + <function>xslt_set_log</function> con un parametro booleano il quale abilita il +logging, poi se + vuoi impostare il file di log per fare il debug, devi poi passargli una stringa +contenente il + nome del file: + <example> + <title> + Uso delle features del Logging di XSLT + </title> + <programlisting role="php"> +<![CDATA[ +<?php + +$xh = xslt_create(); +xslt_set_log($xh, true); +xslt_set_log($xh, getcwd() . 'myfile.log'); + +$result = xslt_process($xh, 'dog.xml', 'pets.xsl'); +print($result); + +xslt_free($xh); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-set-sax-handler.xml diff -u phpdoc/it/reference/xslt/functions/xslt-set-sax-handler.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-set-sax-handler.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-set-sax-handler.xml:1.2 Wed Apr 17 03:09:04 2002 +++ phpdoc/it/reference/xslt/functions/xslt-set-sax-handler.xml Wed May 1 15:06:23 +2002 @@ -1,71 +1,68 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-set-sax-handler' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-set-sax-handler"> - <refnamediv> - <refname>xslt_set_sax_handler</refname> - <refpurpose>Imposta un handlers SAX per un processore XSLT</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_set_sax_handler</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - <methodparam><type>array</type><parameter>handlers</parameter></methodparam> - </methodsynopsis> - <para> - Imposta una handlers SAX sull'handle resource data da - <parameter>xh</parameter>. L'handlers SAX può avere un array bi-dimensionale - con il formato (tutti gli elementi al livello top sono opzionali): - <informalexample> - <programlisting role="php"> -<![CDATA[ -array( -[document] => - array( - start document handler, - end document handler - ), -[element] => - array( - start element handler, - end element handler - ), -[namespace] => - array( - start namespace handler, - end namespace handler - ), -[comment] => comment handler, -[pi] => processing instruction handler, -[character] => character data handler -) -]]> - </programlisting> - </informalexample> - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-set-sax-handler"> + <refnamediv> + <refname>xslt_set_sax_handler</refname> + <refpurpose>Imposta un handler SAX per un processore XSLT</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_set_sax_handler</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + <methodparam><type>array</type><parameter>handler</parameter></methodparam> + </methodsynopsis> + <para> + Imposta una handler SAX sulla risorsa dell'handle data da + <parameter>xh</parameter>. L'handler SAX può avere + un array bi-dimensionale con il formato (tutti gli elementi al livello top sono +opzionali): + <informalexample> + <programlisting role="php"> +<![CDATA[ +array( +[document] => + array( + start document handler, + end document handler + ), +[element] => + array( + start element handler, + end element handler + ), +[namespace] => + array( + start namespace handler, + end namespace handler + ), +[comment] => comment handler, +[pi] => processing instruction handler, +[character] => character data handler +) +]]> + </programlisting> + </informalexample> + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-set-sax-handlers.xml diff -u phpdoc/it/reference/xslt/functions/xslt-set-sax-handlers.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-set-sax-handlers.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-set-sax-handlers.xml:1.2 Wed Apr 17 03:09:05 2002 +++ phpdoc/it/reference/xslt/functions/xslt-set-sax-handlers.xml Wed May 1 +15:06:23 2002 @@ -1,45 +1,42 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-set-sax-handlers' in en/ tree in rev 1.29 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.29 --> - <refentry id='function.xslt-set-sax-handlers'> - <refnamediv> - <refname>xslt_set_sax_handlers</refname> - <refpurpose> - Imposta l'handlers SAX da richiamare quando il document XML viene processato - </refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_set_sax_handlers</methodname> - <methodparam><type>resource</type><parameter>processor</parameter></methodparam> - <methodparam><type>array</type><parameter>handlers</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id='function.xslt-set-sax-handlers'> + <refnamediv> + <refname>xslt_set_sax_handlers</refname> + <refpurpose> + Imposta gli handler SAX da richiamare quando il document XML viene processato + </refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_set_sax_handlers</methodname> + <methodparam><type>resource</type><parameter>processor</parameter></methodparam> + <methodparam><type>array</type><parameter>handler</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-set-scheme-handler.xml diff -u phpdoc/it/reference/xslt/functions/xslt-set-scheme-handler.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-set-scheme-handler.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-set-scheme-handler.xml:1.2 Wed Apr 17 03:09:05 2002 +++ phpdoc/it/reference/xslt/functions/xslt-set-scheme-handler.xml Wed May 1 +15:06:23 2002 @@ -1,58 +1,55 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-set-scheme-handler' in en/ tree in rev 1.3 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.3 --> - <refentry id="function.xslt-set-scheme-handler"> - <refnamediv> - <refname>xslt_set_scheme_handler</refname> - <refpurpose>Imposta lo schema dell'handlers per un processore XSLT</refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_set_scheme_handler</methodname> - <methodparam><type>resource</type><parameter>xh</parameter></methodparam> - <methodparam><type>array</type><parameter>handlers</parameter></methodparam> - </methodsynopsis> - <para> - Imposta lo schema dell'handlers sull'handle resource data da - <parameter>xh</parameter>. Lo schema dell'handlers può essere un array con il - formato (tutti gli elementi sono opzionali): - <informalexample> - <programlisting role="php"> -<![CDATA[ -array( -[get_all] => get all handler, -[open] => open handler, -[get] => get handler, -[put] => put handler, -[close] => close handler -) -]]> - </programlisting> - </informalexample> - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id="function.xslt-set-scheme-handler"> + <refnamediv> + <refname>xslt_set_scheme_handler</refname> + <refpurpose>Imposta lo schema dell'handler per un processore XSLT</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_set_scheme_handler</methodname> + <methodparam><type>resource</type><parameter>xh</parameter></methodparam> + <methodparam><type>array</type><parameter>handler</parameter></methodparam> + </methodsynopsis> + <para> + Imposta lo schema dell'handler sulla risorsa dell'handle data da + <parameter>xh</parameter>. Lo schema dell'handler può essere un array con il + formato (tutti gli elementi sono opzionali): + <informalexample> + <programlisting role="php"> +<![CDATA[ +array( +[get_all] => get all handler, +[open] => open handler, +[get] => get handler, +[put] => put handler, +[close] => close handler +) +]]> + </programlisting> + </informalexample> + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +End: +vim600: syn=xml fen fdm=syntax fdl=2 si +vim: et tw=78 syn=sgml +vi: ts=1 sw=1 +--> Index: phpdoc/it/reference/xslt/functions/xslt-set-scheme-handlers.xml diff -u phpdoc/it/reference/xslt/functions/xslt-set-scheme-handlers.xml:1.2 phpdoc/it/reference/xslt/functions/xslt-set-scheme-handlers.xml:1.3 --- phpdoc/it/reference/xslt/functions/xslt-set-scheme-handlers.xml:1.2 Wed Apr 17 03:09:05 2002 +++ phpdoc/it/reference/xslt/functions/xslt-set-scheme-handlers.xml Wed May 1 +15:06:23 2002 @@ -1,45 +1,40 @@ -<?xml version="1.0" encoding="iso-8859-1"?> -<!-- splitted from ./it/functions/xslt.xml, last change in rev 1.1 --> -<!-- last change to 'xslt-set-scheme-handlers' in en/ tree in rev 1.29 --> -<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> -<!-- OLD-Revision: 1.32/EN.1.29 --> - <refentry id='function.xslt-set-scheme-handlers'> - <refnamediv> - <refname>xslt_set_scheme_handlers</refname> - <refpurpose> - Imposta lo schema dell'handlers per un processore XSLT - </refpurpose> - </refnamediv> - <refsect1> - <title>Descrizione</title> - <methodsynopsis> - <type>void</type><methodname>xslt_set_scheme_handlers</methodname> - <methodparam><type>resource</type><parameter>processor</parameter></methodparam> - <methodparam><type>array</type><parameter>handlers</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> - -<!-- 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 -indent-tabs-mode:nil -sgml-parent-document:nil -sgml-default-dtd-file:"../../../../manual.ced" -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: -vim600: syn=xml fen fdm=syntax fdl=2 si -vim: et tw=78 syn=sgml -vi: ts=1 sw=1 ---> +<?xml version="1.0" encoding="iso-8859-1"?> +<!-- EN-Revision: 1.2 Maintainer: curcio_it Status: ready --> + <refentry id='function.xslt-set-scheme-handlers'> + <refnamediv> + <refname>xslt_set_scheme_handlers</refname> + <refpurpose>Imposta lo schema degli handler per un processore XSLT</refpurpose> + </refnamediv> + <refsect1> + <title>Descrizione</title> + <methodsynopsis> + <type>void</type><methodname>xslt_set_scheme_handlers</methodname> + <methodparam><type>resource</type><parameter>processor</parameter></methodparam> + <methodparam><type>array</type><parameter>handler</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + </refentry> + +<!-- 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 +indent-tabs-mode:nil +sgml-parent-document:nil +sgml-default-dtd-file:"../../../../manual.ced" +sgml-exposed-tags:nil +sgml-local-catalogs:nil +sgml-local-ecat-files:nil +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