mirror of
https://github.com/php/doc-it.git
synced 2026-03-24 15:42:46 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/it/trunk@351144 c90b9560-bf6c-de11-be94-00142212c4b1
97 lines
3.1 KiB
XML
97 lines
3.1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- EN-Revision: 9905374cd0b37a55542a68eedac9cf59521f59c9 Maintainer: pastore Status: ready -->
|
|
<!-- CREDITS: darvina -->
|
|
<refentry xmlns="http://docbook.org/ns/docbook" xml:id='function.xml-parser-create-ns'>
|
|
<refnamediv>
|
|
<refname>xml_parser_create_ns</refname>
|
|
<refpurpose>Crea un parser XML con il supporto dello spazio dei nomi</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsect1 role="description">
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>resource</type><methodname>xml_parser_create_ns</methodname>
|
|
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
|
|
<methodparam choice="opt"><type>string</type><parameter>separator</parameter><initializer>":"</initializer></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>xml_parser_create_ns</function> crea un nuovo parser XML
|
|
con il supporto dello spazio dei nomi XML e restituisce un handle che si riferisce ad esso
|
|
da utilizzarsi con le altre funzioni XML.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="parameters">
|
|
&reftitle.parameters;
|
|
<para>
|
|
<variablelist>
|
|
<varlistentry>
|
|
<term><parameter>encoding</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Il parametro opzionale <parameter>encoding</parameter> indica la
|
|
codifica dei caratteri in input ed output per il PHP 4. A partire dal PHP 5, la codifica
|
|
dell'input è determinata automaticamente, pertanto il parametro
|
|
<parameter>encoding</parameter> indica solo dal codifica dell'output.
|
|
In PHP 4, la codifica di default dell'output è la medesima utilizzata
|
|
dall'input. In PHP 5.0.0 a 5.0.1, il set di caratteri di default è
|
|
l' ISO-8859-1, mentre in PHP 5.0.2 e successivi è UTF-8. Le codifiche
|
|
supportate sono <literal>ISO-8859-1</literal>, <literal>UTF-8</literal> e
|
|
<literal>US-ASCII</literal>.
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
<term><parameter>separator</parameter></term>
|
|
<listitem>
|
|
<para>
|
|
Con un parser che gestisce gli spazi dei nomi, i tag passati alle varie
|
|
funzioni handler saranno composti dallo spazio dei nomi e dal nome del tag separati dalla
|
|
stringa specificata in <parameter>separator</parameter>
|
|
</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
</variablelist>
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="returnvalues">
|
|
&reftitle.returnvalues;
|
|
<para>
|
|
Restituisce un handle della risorsa per il nuovo parser XML.
|
|
</para>
|
|
</refsect1>
|
|
|
|
<refsect1 role="seealso">
|
|
&reftitle.seealso;
|
|
<para>
|
|
<simplelist>
|
|
<member><function>xml_parser_create</function></member>
|
|
<member><function>xml_parser_free</function></member>
|
|
</simplelist>
|
|
</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:"~/.phpdoc/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
|
|
-->
|