<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What about adding a method to
org.jdom.Element</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> public String
getAttributeValue(String name, Namespace ns, String default)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>Such that if the attribute named "name" does not
exist, the String "default" is returned.</FONT></DIV>
<DIV><FONT face=Arial size=2>This could be useful in cases where an XML file has
default values for attributes</FONT></DIV>
<DIV><FONT face=Arial size=2>that are not specified.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What do the powers that be think of this
idea?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>-Mike Jennings</DIV>
<DIV><BR></FONT> </DIV></BODY></HTML>