<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I had a general question about attributes in the
jdom structure. I've noticed that when an attribute is changed, the
existing attribute reference is dropped and it's replaced with a new
one.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>What is the reasoning behind this?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We are using jdom for a general-purpose tree, with
the handy-dandy benefit of being able to query and serialize the tree with xpath
and xml. However, I'm running into more and more work-arounds to deal with
the fact that attributes do not persist.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I intend to override that functionality in my
subclassed Element object. I want to make sure I don't have to learn the
hard way why attributes don't persist in jdom :)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks,</FONT></DIV>
<DIV><FONT face=Arial size=2>Tim</FONT></DIV></BODY></HTML>