Constructs the XML reader: parses the given data. Check $gleamed and $error after constructing.
ocp_simple_xml_reader
ocp_simple_xml_reader
(string $xml_data)
-
string
$xml_data: The XML data
Standard PHP XML parser function.
void
endElement
(object The $parser)
-
object The
$parser: parser object (same as 'this')
Pull a portion of an XML tree structure back into textual XML.
string
pull_together
(array $children)
-
array
$children: Level of XML tree
Standard PHP XML parser function.
void
startElement
(object The $parser, string $name, array $attributes)
-
object The
$parser: parser object (same as 'this')
-
string
$name: The name of the element found
-
array
$attributes: Array of attributes of the element
Standard PHP XML parser function.
void
startText
(object The $parser, string $data)
-
object The
$parser: parser object (same as 'this')
-
string
$data: The text