I need to split the xml value from the string and need to add the xml value in the different string value
<pre><code>For Eg :

String xmldata= "&lt;Root&gt;&lt;Record FieldName="Name"&gt;STACKOVERFLOW&lt;/Record&gt;&lt;Record FieldName="Id"&gt;001&lt;/Record&gt;&lt;Record FieldName="Company"&gt;AAAA&lt;/Record&gt;&lt;/Root&gt;"

String extraxmldata= "&lt;Root&gt;&lt;Record FieldName="Address"&gt;abc&lt;/Record&gt;&lt;Record FieldName="Mobile"&gt;345343453&lt;/Record&gt;&lt;/Root&gt;"
</code></pre>

<p>I need split the value from the <code>extraxmldata</code> string and add to <code>xmldata</code> string.</p>

<p>OUTPUT SHOULD BE </p>

<pre><code> String xmldata= "&lt;Root&gt;&lt;Record FieldName="Name"&gt;STACKOVERFLOW&lt;/Record&gt;&lt;Record FieldName="Id"&gt;001&lt;/Record&gt;&lt;Record FieldName="Company"&gt;AAAA&lt;/Record&gt;&lt;Record FieldName="Address"&gt;abc&lt;/Record&gt;&lt;Record FieldName="Mobile"&gt;345343453&lt;/Record&gt;&lt;/Root&gt;"
</code></pre>
