downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the SVN repository for this website on svn.php.net.

Source of: /manual/en/intro.dom.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/book.dom.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'en',
  ),
 
'this' =>
  array (
   
0 => 'intro.dom.php',
   
1 => 'Introduction',
  ),
 
'up' =>
  array (
   
0 => 'book.dom.php',
   
1 => 'Document Object Model',
  ),
 
'prev' =>
  array (
   
0 => 'book.dom.php',
   
1 => 'DOM',
  ),
 
'next' =>
  array (
   
0 => 'dom.setup.php',
   
1 => 'Installing/Configuring',
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<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">
   For PHP 4, use <a href="ref.domxml.php" class="link">DOM XML</a>.
  </p>
  <blockquote><p><b class="note">Note</b>:
  
    DOM extension uses UTF-8 encoding. Use <a href="function.utf8-encode.php" class="function">utf8_encode()</a>
    and <a href="function.utf8-decode.php" class="function">utf8_decode()</a> to work with texts in ISO-8859-1
    encoding or <a href="ref.iconv.php" class="link">Iconv</a> for other encodings.
   <br />
  </p></blockquote>
 </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites