cvs: peardoc /en/package xml.xml /en/package/xml xml-parser.xml /en/package/xml/xml-parser intro.xml
| From: | Stephan Schmidt | Date: | Fri, 07 May 2004 18:10:08 +0000 |
| Subject: | cvs: peardoc /en/package xml.xml /en/package/xml xml-parser.xml /en/package/xml/xml-parser intro.xml | ||
| Groups: | php.pear.doc | ||
| Request: | Send a blank email to pear-doc+get-3917@lists.php.net to get a copy of this message | ||
schst Fri May 7 14:10:08 2004 EDT
Added files:
/peardoc/en/package/xml xml-parser.xml
/peardoc/en/package/xml/xml-parser intro.xml
Modified files:
/peardoc/en/package xml.xml
Log:
added introduction to XML_Parser
http://cvs.php.net/diff.php/peardoc/en/package/xml.xml?r1=1.10&r2=1.11&ty=u
Index: peardoc/en/package/xml.xml
diff -u peardoc/en/package/xml.xml:1.10 peardoc/en/package/xml.xml:1.11
--- peardoc/en/package/xml.xml:1.10 Sat Dec 20 13:08:08 2003
+++ peardoc/en/package/xml.xml Fri May 7 14:10:08 2004
@@ -1,4 +1,4 @@
-<!-- $Revision: 1.10 $ -->
+<!-- $Revision: 1.11 $ -->
<chapter id="package.xml">
<title>XML</title>
@@ -8,6 +8,7 @@
XML
</para>
&package.xml.xml-beautifier;
+ &package.xml.xml-parser;
&package.xml.xml-rddl;
&package.xml.xml-rss;
&package.xml.xml-serializer;
http://cvs.php.net/co.php/peardoc/en/package/xml/xml-parser.xml?r=1.1&p=1
Index: peardoc/en/package/xml/xml-parser.xml
+++ peardoc/en/package/xml/xml-parser.xml
<!-- $Revision: 1.1 $ -->
<sect1 id="package.xml.xml-parser">
<title>XML_Parser</title>
<para>
Object-oriented abstraction for PHP's xml extension.
</para>
&package.xml.xml-parser.intro;
</sect1>
<!-- 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
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
-->
http://cvs.php.net/co.php/peardoc/en/package/xml/xml-parser/intro.xml?r=1.1&p=1
Index: peardoc/en/package/xml/xml-parser/intro.xml
+++ peardoc/en/package/xml/xml-parser/intro.xml
<!-- $Revision: 1.1 $ -->
<refentry id="package.xml.xml-parser.intro">
<refnamediv>
<refname>Introduction</refname>
<refpurpose>Introduction to XML_Parser</refpurpose>
</refnamediv>
<refsect1 id="package.xml.xml-parser.intro.refsect1">
<title>Introduction to XML_Parser</title>
<para>
XML_Parser provides an object-oriented abstraction to
PHP's ext/xml. It helps you processing XML documents
by supplying methods that are needed when working with
XML documents, like automatic error handling, parsing
from a file, URL or string as well as an easy way to register
callbacks.
</para>
<para>
XML_Parser uses SAX-based parsing, which is a simple
API to retrieve information from XML documents. While
the parser reads the document, it will call methods for
the different nodes that are found. These nodes range from
opening and closing tags to character data and processing
instructions.
</para>
<para>
You will not be able to use XML_Parser directly to parse
your documents, but you have to create a new class that
extends XML_Parser and implement handlers for the tags
and all other elements you need to process.
</para>
<para>
Several of PEAR's XML packages use this approach and thus
rely on XML_Parser. If you would like to take a look at real-life
examples, just install XML_RDDL, XML_Beautifier, XML_Statistics
or XML_Serializer.
</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
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
-->