[jdom-interest] JDOM and Recursive elements

Vijay Gummadi vijaykgummadi at hotmail.com
Tue Nov 20 19:36:16 PST 2001


Folks,

    After making several attempts and looking up all the archives, I seek your input in solving this problem I encountered.

    How do I use JDOM to write/create an XML document that has a structure similar to the one shown here:

    <NameValuePair name="a">
        <Value>b</Value>
        <NameValuePair name="c">
            <Value>d</Value>
            <NameValuePair name="e">
                <Value>f</Value>
                <!-- NESTING OF ELEMENT NAMEVALUEPAIR CAN GO ON-->
            </NameValuePair>
        </NameValuePair>
    </NameValuePair>

    Any help including code samples are highly appreciated.

regards,
Vijay
eMail: vijaykgummadi at hotmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20011120/a41fb7a6/attachment.htm


More information about the jdom-interest mailing list