Hi,
This may be a simple problem which everyone has faced but I was looking for a best solution:-
Assuming I have 2 Document objects:-
One of them is :-
<CONFIG>
<TESTING>
<TEST>
<name>abc</name>
</TEST>
<TEST>
<name> xyz </name>
</TEST>
</TESTING>
</CONFIG>
Now another document object is :-
<City>
<Name>Bangalore </Name>
</City>
Now progarmatically or using XSLT I want to obtain the result as follows:-
<CONFIG>
<TESTING>
<TEST>
<name>abc</name>
</TEST>
<TEST>
<name> xyz </name>
</TEST>
</TESTING>
<City>
<Name>Bangalore </Name>
</City>
</CONFIG>
Let me know the best method. All suggestions are welcome
This may be a simple problem which everyone has faced but I was looking for a best solution:-
Assuming I have 2 Document objects:-
One of them is :-
<CONFIG>
<TESTING>
<TEST>
<name>abc</name>
</TEST>
<TEST>
<name> xyz </name>
</TEST>
</TESTING>
</CONFIG>
Now another document object is :-
<City>
<Name>Bangalore </Name>
</City>
Now progarmatically or using XSLT I want to obtain the result as follows:-
<CONFIG>
<TESTING>
<TEST>
<name>abc</name>
</TEST>
<TEST>
<name> xyz </name>
</TEST>
</TESTING>
<City>
<Name>Bangalore </Name>
</City>
</CONFIG>
Let me know the best method. All suggestions are welcome
Comment