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.xml.php

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

manual_header();
?>
<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">&raquo; http://www.w3.org/XML/</a>.
  </p>
  <p class="para">
   This PHP extension implements support for James Clark&#039;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.php" class="link">character encodings</a>
   also provided by PHP: <i>US-ASCII</i>,
   <i>ISO-8859-1</i> and <i>UTF-8</i>.
   <i>UTF-16</i> is not supported.
  </p>
  <p class="para">
   This extension lets you <a href="function.xml-parser-create.php" 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.php" class="link">parameters</a> you
   can adjust.
  </p>
 </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites