2
Answers

adding xmlnode with child node

MANOJ MATHE

MANOJ MATHE

16y
5.2k
1
Hi all,
  I need some more information as my requirement is like this

<xml directive>
<m>
<a>
<j>adasd</j>
<k>asdsd</k>
</a>
</m>

this xml i am getting from other function in the form of a string

now i need to add the <a> node to other xml whixh is in string format
like this

<xml directive>
<nameq>
<no>23</no>
<name>asfrasf</name>
i need to add that node here
</nameq>


and i need to shown it as this

<xml directive>
<nameq>
<no>23</no>
<name>asfrasf</name>
<a>
<j>adasd</j>
<k>asdsd</k>
</a>
</nameq>

can you help me regarding this

Thanks,
M.MANOJ.

Answers (2)