<!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 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Folks,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> After making several attempts
and looking up all the archives, I seek your input in solving this problem
I encountered.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> How do I use JDOM to
write/create an XML document that has a structure similar to the one shown
here:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> <NameValuePair
name="a"></FONT></DIV>
<DIV><FONT face=Arial size=2>
<Value>b</Value></FONT></DIV>
<DIV><FONT face=Arial size=2>
<NameValuePair name="c"></FONT></DIV>
<DIV><FONT face=Arial size=2>
<Value>d</Value></FONT></DIV>
<DIV><FONT face=Arial size=2>
<NameValuePair name="e"></FONT></DIV>
<DIV><FONT face=Arial size=2>
<Value>f</Value></FONT></DIV>
<DIV><FONT face=Arial
size=2>
<!-- NESTING OF ELEMENT NAMEVALUEPAIR CAN GO ON--></FONT></DIV>
<DIV><FONT face=Arial size=2>
</NameValuePair></FONT></DIV>
<DIV><FONT face=Arial size=2>
</NameValuePair></FONT></DIV>
<DIV><FONT face=Arial size=2>
</NameValuePair></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Any help including code samples
are highly appreciated.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>regards,</FONT></DIV>
<DIV><FONT face=Arial size=2>Vijay</FONT></DIV>
<DIV><FONT face=Arial size=2>eMail: <A
href="mailto:vijaykgummadi@hotmail.com">vijaykgummadi@hotmail.com</A></FONT></DIV></BODY></HTML>