Usage Example: ArrayAccess Interface
<?php
header('Content-type: text/plain');
$xml = <<<XML
<html>
<head></head>
<body>
<p>Hello</p>
<p>cruel</p>
<p>World</p>
</body>
</html>
XML;
require_once('../../FluentDOM.php');
echo $dom[0]->textContent, ' ', $dom[2]->textContent;
?>
|
|