Name
hasAttributes( )
Synopsis
Indicates whether an Element
node has any attributes. Returns
true
if the node has
attributes; otherwise, it returns false
.
Java binding
public boolean hasAttributes( );
Get XML in a Nutshell, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.