An interesting side-effect is that in the handle_xxx function you can use the parse_it function
again to parse external retrieved data. Say that you have a <my-include file=..>, that
file can also contain new <my-..> tags if you implement res/include/include.php
as follows:
<?php
function handle_include ($arglist) {
if (($arglist["file"]) && ($f = fopen ($arglist["file"], "r"))) {
$buf = "";
while ($str = fgets ($f, 4096))
$buf .= $str;
fclose ($f);