Get value of all XML nodes

I have the following xml

<?xml version="1.0" encoding="iso-8859-1"?>
<links>
    <link name="HOME" ref="index.cfm"/>
    <link name="HOW IT WORKS" ref="hiw.html"/>
    <link name="BUY" ref="purchaset.html"/>
    <link name="PRODUCTS" ref="pducts.html"/>
</links>

I want to pull all the “name” values and put them into one output.
Eg:HOMEHOWITWORKSBUYPRODUCTS

So it creates basically populates on textfield.

Any help?