protected function loadCategories($xml){
        //Categories
        if (!$xml->Self){
            return false;
        }
        $cnum = 0;
        foreach($xml->children() as $x){
            $this->data['Categories'][$cnum] = $this->genHierarchy($x);
            $cnum++;
        }
    }