Hi!

I have the following XML. Through Javascript, I have to acesss the elements (loop through) address,city,country,zipa and note and concatenate them into a string. How to achieve this? Thanks for the help

<markers>
<marker lat="54.749991" lng="-2.944336">
<name><![CDATA[Admiral Bar]]></name>
<address><![CDATA[72A Waterloo Street]]></address>
<city><![CDATA[Glasgow]]></city>
<country><![CDATA[UK]]></country>
<zip><![CDATA[G2 3DA]]></zip>
<note><![CDATA[0141 221 7705]]></note>
</marker>
<marker lat="51.510039" lng="-0.146047">
<name><![CDATA[Amigos]]></name>
<address><![CDATA[11A Union Street]]></address>
<city><![CDATA[Torquay]]></city>
<country><![CDATA[UK]]></country>
<zip><![CDATA[TQ1 3DW]]></zip>
<note><![CDATA[01803 389 444]]></note>
</marker>
<marker lat="51.510042" lng="-0.099607">
<name><![CDATA[Amigos Bar & Restaurant]]></name>
<address><![CDATA[28 Chapel Street]]></address>
<city><![CDATA[Luton]]></city>
<country><![CDATA[UK]]></country>
<zip><![CDATA[LU1 2SE]]></zip>
<note><![CDATA[01582 480 430]]></note>
</marker>
</markers>