Source XML :---I have multiple Owner with same and different value and has different contract number.
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<Table1>
<Owner>1</Owner>
<Contract_Number>3</Contract_Number>
</Table1>
<Table1>
<Owner>1</Owner>
<Contract_Number>4</Contract_Number>
</Table1>
<Table1>
<Owner>1</Owner>
<Contract_Number>4</Contract_Number>
</Table1>
</NewDataSet>
OUT XML Required using XSLT :-
<?xml version="1.0" standalone="yes"?>
<NewDataSet>
<Table1>
<Owner>
<Contract_Number>3</Contract_Number>
<Contract_Number>4</Contract_Number>
<Contract_Number>4</Contract_Number>
</Owner>
</Table1>
</NewDataSet>
I need a XSLT for above out put.Any help will be highly appreciated.