<!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.dom.html">DOM</a></div> <div class="next" style="text-align: right; float: right;"><a href="dom.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.dom.html">DOM</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="intro.dom" class="preface"> <h1 class="title">Introduction</h1> <p class="para"> The DOM extension allows you to operate on XML documents through the DOM API with PHP 5. </p> <p class="para"> Note: PHP 4 offers an older <em>domxml</em> extension. </p> <blockquote class="note"><p><strong class="note">Note</strong>: <p class="para"> The DOM extension uses UTF-8 encoding. Use <span class="function"><a href="function.utf8-encode.html" class="function">utf8_encode()</a></span> and <span class="function"><a href="function.utf8-decode.html" class="function">utf8_decode()</a></span> to work with texts in ISO-8859-1 encoding or <a href="ref.iconv.html" class="link">Iconv</a> for other encodings. </p> </p></blockquote> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="book.dom.html">DOM</a></div> <div class="next" style="text-align: right; float: right;"><a href="dom.setup.html">Installing/Configuring</a></div> <div class="up"><a href="book.dom.html">DOM</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>