public Node getNamedItem ( String name ) { for ( int n = dtm . getFirstAttribute ( element ) ; n != DTM . NULL ; n = dtm . getNextAttribute ( n ) ) { if ( dtm . getNodeName ( n ) . equals ( name ) ) return dtm . getNode ( n ) ; } return null ; }
Retrieves a node specified by name .