[jdom-interest] Children

JStalnecker at idssinfo.com JStalnecker at idssinfo.com
Fri Mar 9 06:58:02 PST 2001


The newbe has another problem!

How do I create a jdom Document with a complex type?

Ex I am trying to create the following:

<customer>
     <billTo>
          <number>100014</number>
          <address1>1223 Main Street</address1>
          <address2>Line 2</address2>
          <address3>Line 3</address3>
          <city>anytown</city>
          <state>anyState</state>
          <zip>99999</zip>
     </billTo>
</customer>

I can create the customer element with it children but I can not get the
billTo tag to rap the child as shown above.

If there is a good example out there, I would appreciate the address.

Thanks in advance for any help.

Joy




More information about the jdom-interest mailing list