node = $node; $this->xml = $xml ; } public static function dtd() { return <<xml->parseNode($this->node, True, True, True, array("id", "lang")); if (!method_exists($this, $returntype)) { return False; } return call_user_func(array($this, $returntype), $parse["attributes_array"], $parse["attributes_string"], $parse["content_string"]); } private function xhtml($arr, $str, $content) { $lang = ($arr["lang"] != "") ? $arr["lang"] : "en"; $id = ($arr["id"] != "") ? $arr["id"] : "autoid".$this->xml->getFreeID(); return array("reparse" => True, "output" => << {$content} XML ); } } ?>