I have some XML string output which looks like the following:
<xml>
<node>
<Title name="Title">Tea and Coffee</Title>
<Menu-Item name="Menu-Item">
<div class="field-item field-item-0">Freshly brewed fairtrade filter coffee and a selection of fairtrade tea and herbal infusions</div><div class="field-item field-item-1">Ut laoreet porta tellus, ut pellentesque ipsum dictum metus.</div>
</Menu-Item>
</node>
</xml>
The next thing I need to do is extracting the 'div' elements and casting them so I can use them as jquery objects as normal.
Any ideas?
var div = $('.field-item');