node = $node; $this->xml = $xml ; } public static function dtd() { return <<xml->parseNode($this->node, True, True, True, array("format")); return date(($parse["attributes_array"]["format"] == "") ? "Y-m-d" : $parse["attributes_array"]["format"], ($this->node->childNodes->length) ? (int)trim($parse["content_string"]) : date("U")); } } ?>