40 pts.
Q:
Building an xml in java
Please give me an example of building an xml with multiple child nodes, in java.

I want something like :

<Parent>

<Child1>something</Child1>

<Child2>something else</Child2>

</Parent>

Now, the values for Child1 and Child2 must be picked using SQL from AS400. Picking values is where i think i am failing. My program constructs something like :

<Parent>

<Child1>something</Child1>

</Parent>

<Parent>

<Child2>something else</Child2>

</Parent>

:( help!

 

 



Software/Hardware used:
java 1.5, as400, jdbc
ASKED: Nov 30 2009  7:20 AM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
4495 pts.
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • Bookmark and Share
Try this:

http://www.lmgtfy.com/?q=example+of+building+an+xml+with+multiple+child+nodes+in+java
Last Answered: Nov 30 2009  9:25 PM GMT by Teandy   4495 pts.
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _