The expat parser, that the XML functions in PHP use,
works by generating calls to the appropriate
element handling functions (or methods in a class) as the sequential parsing
of the input document occurs.
<title level='1'>
SDPHP
</title>
- • Call start element handler function, and pass tag name (title)
and attributes (level='1')
<title level='1'>
SDPHP
</title>
- • Call CDATA element handler function, pass the tag contents including
end-of-line characters.
<title level='1'>
SDPHP
</title>