var_dump($category);
object(SimpleXMLElement)[109]
public '@attributes' =>
array (size=2)
'id' => string '46' (length=2)
'parentId' => string '3' (length=1)
public 0 => string '3D' (length=2)
public 0 => string '3D' (length=2)