<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.2314.1000" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have an Element which may or may not contain a 
certain attribute. When I check for the value of this attribute i.e. 
elem.getAttribute("type").getValue() and it is not there, my program is throwing 
a null pointer exception. I have tried adding a NoSuchAttributeException to my 
catch block but my code will not compile. I have seen this exception somewhere 
in JDOM documentation. Has it been removed, if so, how can I do 
this.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks for any help!</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Carey Boldenow</FONT></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>