Source of: /manual/en/xml.case-folding.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 => 'xml.case-folding.php',
1 => 'Case Folding',
),
'up' =>
array (
0 => 'book.xml.php',
1 => 'XML Parser',
),
'prev' =>
array (
0 => 'xml.eventhandlers.php',
1 => 'Event Handlers',
),
'next' =>
array (
0 => 'xml.error-codes.php',
1 => 'Error Codes',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1>Case Folding</h1>
<p class="para">
The element handler functions may get their element names
<span class="glossterm">case-folded</span>. Case-folding is defined
as "a process applied to a sequence of
characters, in which those identified as non-uppercase are
replaced by their uppercase equivalents". In other words, when
it comes to XML, case-folding simply means uppercasing.
</p>
<p class="para">
By default, all the element names that are passed to the handler
functions are case-folded. This behaviour can be queried and
controlled per XML parser with the
<a href="function.xml-parser-get-option.php" class="function">xml_parser_get_option()</a> and
<a href="function.xml-parser-set-option.php" class="function">xml_parser_set_option()</a> functions,
respectively.
</p>
</div>
<?php manual_footer(); ?>