Thanks for Your reply!
Another solution:
public boolean hasAttributes(Node node) {
try {
return node.hasAttributes();
} catch (Exception e) {
return false;
}
}
--
Kind regards,
Ignat Alexeyenko.
On Wed, Mar 24, 2010 at 9:59 AM, pschonefeld <[email protected]>wrote:
> this was happening for me on a text node so checked that getNodeType()
> was an element (1) and all was OK.
>
> HTH
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.