<?php
/**
*
* @version $Id: append.php 322 2009-09-14 20:19:48Z subjective $
* @license http://www.opensource.org/licenses/mit-license.php The MIT License
* @copyright Copyright (c) 2009 Bastian Feder, Thomas Weinert
*/
header('Content-type: text/plain');
$xml = <<<XML
<html>
<head></head>
<body>
<p>I would like to say: </p>
<items>
<group>
<item index="0">text1</item>
<item index="1">text2</item>
<item index="2">text3</item>
</group>
<html>
<div class="test1 test2"><b>class testing</b></div>
<div class="test2"><b>class testing</b></div>
</html>
</items>
</body>
</html>
XML;
require_once('../FluentDOM.php');
->append('<strong>Hello</strong>')
echo "\n\n";
$items =
$dom->find('//group/item');
echo $dom
?>