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/book.simplexml.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/refs.xml.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'book.simplexml.php',
1 => 'SimpleXML',
),
'up' =>
array (
0 => 'refs.xml.php',
1 => 'XML Manipulation',
),
'prev' =>
array (
0 => 'function.sdo-das-xml-savestring.php',
1 => 'SDO_DAS_XML::saveString',
),
'next' =>
array (
0 => 'intro.simplexml.php',
1 => 'Introduction',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">SimpleXML</h1>
<ul class="chunklist chunklist_book"><li><a href="intro.simplexml.php">Introduction</a></li><li><a href="simplexml.setup.php">Installing/Configuring</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="simplexml.requirements.php">Requirements</a></li><li><a href="simplexml.installation.php">Installation</a></li><li><a href="simplexml.configuration.php">Runtime Configuration</a></li><li><a href="simplexml.resources.php">Resource Types</a></li></ul></li><li><a href="simplexml.constants.php">Predefined Constants</a></li><li><a href="simplexml.examples.php">Examples</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="simplexml.examples-basic.php">Basic usage</a></li><li><a href="simplexml.examples-errors.php">Dealing with XML errors</a></li></ul></li><li><a href="class.simplexmlelement.php">SimpleXMLElement</a> — The SimpleXMLElement class<ul class="chunklist chunklist_book chunklist_children"><li><a href="simplexmlelement.addAttribute.php">SimpleXMLElement::addAttribute</a> — Adds an attribute to the SimpleXML element</li><li><a href="simplexmlelement.addChild.php">SimpleXMLElement::addChild</a> — Adds a child element to the XML node</li><li><a href="simplexmlelement.asXML.php">SimpleXMLElement::asXML</a> — Return a well-formed XML string based on SimpleXML element</li><li><a href="simplexmlelement.attributes.php">SimpleXMLElement::attributes</a> — Identifies an element's attributes</li><li><a href="simplexmlelement.children.php">SimpleXMLElement::children</a> — Finds children of given node</li><li><a href="simplexmlelement.construct.php">SimpleXMLElement::__construct</a> — Creates a new SimpleXMLElement object</li><li><a href="simplexmlelement.getDocNamespaces.php">SimpleXMLElement::getDocNamespaces</a> — Returns namespaces declared in document</li><li><a href="simplexmlelement.getName.php">SimpleXMLElement::getName</a> — Gets the name of the XML element</li><li><a href="simplexmlelement.getNamespaces.php">SimpleXMLElement::getNamespaces</a> — Returns namespaces used in document</li><li><a href="simplexmlelement.registerXPathNamespace.php">SimpleXMLElement::registerXPathNamespace</a> — Creates a prefix/ns context for the next XPath query</li><li><a href="simplexmlelement.xpath.php">SimpleXMLElement::xpath</a> — Runs XPath query on XML data</li></ul></li><li><a href="ref.simplexml.php">SimpleXML Functions</a><ul class="chunklist chunklist_book chunklist_children"><li><a href="function.simplexml-import-dom.php">simplexml_import_dom</a> — Get a SimpleXMLElement object from a DOM node.</li><li><a href="function.simplexml-load-file.php">simplexml_load_file</a> — Interprets an XML file into an object</li><li><a href="function.simplexml-load-string.php">simplexml_load_string</a> — Interprets a string of XML into an object</li></ul></li></ul></div><?php manual_footer(); ?>