Tuesday, October 27, 2009

JQuery and XML

Today I've started to use JQuery for XML navigation for the first time. For what I've seen it seems that it is pretty easy, just like using it for HTML, like:

$(xml).find('element').each(function() {
//do something
$('some html element').append($(this).find('nested element').attr('test'));
});

nice hã?

No comments: