<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Introduction</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.xml.html">XML Parser</a></div> <div class="next" style="text-align: right; float: right;"><a href="xml.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.xml.html">XML Parser</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="intro.xml" class="preface"> <h1 class="title">Introduction</h1> <p class="para"> XML (eXtensible Markup Language) is a data format for structured document interchange on the Web. It is a standard defined by The World Wide Web consortium (W3C). Information about XML and related technologies can be found at <a href="http://www.w3.org/XML/" class="link external">» http://www.w3.org/XML/</a>. </p> <p class="para"> This PHP extension implements support for James Clark's <span class="productname">expat</span> in PHP. This toolkit lets you parse, but not validate, XML documents. It supports three source <a href="xml.encoding.html" class="link">character encodings</a> also provided by PHP: <em>US-ASCII</em>, <em>ISO-8859-1</em> and <em>UTF-8</em>. <em>UTF-16</em> is not supported. </p> <p class="para"> This extension lets you <a href="function.xml-parser-create.html" class="link">create XML parsers</a> and then define <em class="emphasis">handlers</em> for different XML events. Each XML parser also has a few <a href="function.xml-parser-set-option.html" class="link">parameters</a> you can adjust. </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.xml.html">XML Parser</a></div> <div class="next" style="text-align: right; float: right;"><a href="xml.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.xml.html">XML Parser</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>