DOMNode Attribute List
Moderator: General Moderators
DOMNode Attribute List
I have code that utilizes the 'getAttribute()' method of the DOMNode class. The problem is, I need some way to iterate through all the attributes that the node has, and I can't seem to find documentation anywhere of any methods to get a list of attributes. Is there any way to do this?
Re: DOMNode Attribute List
use simplexml instead. it has a method Attributes that gives all the attributes of the node.