public function printObj($depth = 0)
    {
        $s = str_repeat("\t", $depth) . $this->name . " " . $this->ns . ' ' . $this->data . "\n";
        foreach ($this->subs as $sub) {
            $s .= $sub->printObj($depth + 1);
        }
        return $s;
    }