nodehasattributes02 IBM The method hasAttributes returns whether this node (if it is an element) has any attributes. Retrieve the docType node. Since this is not an element node check if hasAttributes returns null. Neil Delima 2002-04-28