php-doc-en/reference/libxml/reference.xml

93 lines
2.5 KiB
XML
Executable file

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<!-- Purpose: xml -->
<!-- Membership: bundled, external -->
<reference id="ref.libxml">
<title>libxml Functions</title>
<titleabbrev>libxml</titleabbrev>
<partintro>
<section id="libxml.intro">
&reftitle.intro;
<para>
These functions/constants are available since PHP 5.1.0 and if you have
compiled one of the extensions based on libxml, like <link
linkend="ref.dom">DOM</link>, <link
linkend="ref.simplexml">SimpleXML</link> and <link
linkend="ref.xslt">XSLT</link>.
</para>
</section>
<section id="libxml.requirements">
&reftitle.required;
<para>
This extension requires <ulink url="&url.libxml;">libxml</ulink> &gt;=
2.6.0.
</para>
</section>
<section id='libxml.classes'>
&reftitle.classes;
<section id='libxml.class.libxmlerror'>
<title><classname>LibXMLError</classname></title>
<section id='libxml.class.libxmlerror.properties'>
&reftitle.properties;
<itemizedlist>
<listitem>
<para>code - the error's code</para>
</listitem>
<listitem>
<para>
column - the column where the error occurred. Please note that
this property isn't entirely implemented in libxml and therefore
<literal>0</literal> is often returned.
</para>
</listitem>
<listitem>
<para>file - the filename, or empty if the XML was loaded from a string</para>
</listitem>
<listitem>
<para>
level - the severity of the error (one of the following constants:
<constant>LIBXML_ERR_WARNING</constant>,
<constant>LIBXML_ERR_ERROR</constant> or
<constant>LIBXML_ERR_FATAL</constant>)
</para>
</listitem>
<listitem>
<para>line - the line where the error occurred</para>
</listitem>
<listitem>
<para>message - the error message</para>
</listitem>
</itemizedlist>
</section>
</section>
</section>
&reference.libxml.constants;
</partintro>
&reference.libxml.functions;
</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
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
-->