You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@xerces.apache.org by longinus <lo...@zeus.polsl.gliwice.pl> on 2001/10/25 17:14:16 UTC

element attributes

has anyone used the hasAttributes() method of Node class ?

What's the simplest way of extracting the attributes of nodes ?

Re: element attributes

Posted by Garrett Smith <sh...@yahoo.com>.
Node.attributes //get the namedNodeMap

Node.attributes.getNamedItem(attr) //get an attr

Node.getAttribute(attr) //get an attr


--- longinus <lo...@zeus.polsl.gliwice.pl> wrote:
> has anyone used the hasAttributes() method of Node
> class ?
> 
> What's the simplest way of extracting the attributes
> of nodes ?


__________________________________________________
Do You Yahoo!?
Find a job, post your resume.
http://careers.yahoo.com