I've never needed to do this so i'm not exactly sure - but have you tried print_r($node->taxonomy); that will often answer the question.
Rajaram Shyamala wrote:
$category =$node->taxonomy; I get the array and assign the same to my new node, it works, but how do retrieve the taxonomy id from the $node->taxonomy?
thanks Shyamala