My XML is
<RxHistoryResponse>
<Response>
<Approved />
</Response>
<Pharmacy>
<Name>WALGREENS #12555</Name>
<Address>
<AddressLine1>2404 S PERRYVILLE RD</AddressLine1>
<City>ROCKFORD</City>
<State>IL</State>
<ZipCode>61108</ZipCode>
</Address>
<Identification>
<DEANumber />
</Identification>
</Pharmacy>
</RxHistoryResponse>
<RxHistoryResponse>
<Response>
<Approved />
</Response>
<Pharmacy>
<Name>WALGREENS #12555</Name>
<Address>
<AddressLine1>2404 S PERRYVILLE RD</AddressLine1>
<City>ROCKFORD</City>
<State>IL</State>
<ZipCode>61108</ZipCode>
</Address>
<Identification>
<DEANumber />
</Identification>
</Pharmacy>
</RxHistoryResponse>
<RxHistoryResponse>
<Response>
<Approved />
</Response>
<Pharmacy>
<Name>WALGREENS #2020</Name>
<Address>
<AddressLine1>1014 Lake st</AddressLine1>
<City>Chicago</City>
<State>IL</State>
<ZipCode>60403</ZipCode>
</Address>
<Identification>
<DEANumber />
</Identification>
</Pharmacy>
</RxHistoryResponse>
My out put should be
Pharmacy Address City State
WALGREENS #125552404 S PERRYVILLE RD ROCKFORD IL
WALGREENS #20201014 Lake stChicagoIL
The duplicate pharmacy info should not <g class="gr_ gr_40 gr-alert gr_gramm gr_inline_cards gr_run_anim Grammar multiReplace" data-gr-id="40" id="40">shown</g>.