I have code to parse xml file. but it was puzzled that when I tried to get the attribute of any node with methode getAttributes() no matter this node had attr or not, this methode always return false.
I have the same code and parse the same xml file, it worked!
So can some guys explain this ?





