On Mon, 2008-01-28 at 17:39 -0800, Dave Stewart wrote:
> Not sure if this is the best reply, but in order to access the
> structure, it has to be part of the DOM,

That is not correct. You can build a jQuery instance from a xml object
and use the various jQuery query options to search through the xml tree
directly.


Step, have you tried the method find?

$(xml).find('building').each(function()
{
    alert($(this).find('city_id').text());
});

hth,
Tim.

Reply via email to