php-doc-en/reference/xml/functions/xml-parser-create.xml
Hartmut Holzgraefe a640a6914b - xml parser resources explained
- xml_parser_create_ns documented
- xml_parser_create slightly rewritten


git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@119882 c90b9560-bf6c-de11-be94-00142212c4b1
2003-03-11 17:46:32 +00:00

53 lines
1.7 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<!-- splitted from ./en/functions/xml.xml, last change in rev 1.2 -->
<refentry id="function.xml-parser-create">
<refnamediv>
<refname>xml_parser_create</refname>
<refpurpose>create an XML parser</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>resource</type><methodname>xml_parser_create</methodname>
<methodparam choice="opt"><type>string</type><parameter>encoding</parameter></methodparam>
</methodsynopsis>
<para>
<function>xml_parser_create</function> creates a new XML parser
and returns a reousurce handle referencing it to be used by the
other XML functions.
</para>
<para>
The optional <parameter>encoding</parameter> specifies the
character encoding of the XML input to be parsed. Supported
encodings are <literal>"ISO-8859-1"</literal>, wich is also
the default if no <parameter>encoding</parameter> is specified,
<literal>"UTF-8"</literal> and <literal>"US-ASCII"</literal>.
</para>
<para>
See also <function>xml_parser_create_ns</function> and
<function>xml_parser_free</function>.
</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
-->