sandeep - 2007-06-22

please help me. i am trying to get the collection of nodes which has any attributes?
how to find whether the node has atttibutes or not?