MANOJ MATHE

MANOJ MATHE

  • NA
  • 16
  • 16.9k

adding xmlnode with child node

Jul 1 2008 12:21 PM
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)