JSFiddle - React, Tailwind, and code Playground
JavaScript
var xmlString = '<list><item type="type-a" other="other-a"/><item type="type-b" other="other-b"/></list>';
var xml = $.parseXML( xmlString );
$( xml).find( "item" ).each( function() {
// Always works
var otherValue = $(this).attr( "other" );
alert( otherValue );
// jQuery 1.10.1 in IE 7 throws SCRIPT450 (wrong number of arguments) error in function interpolationHandler(){}
var typeValue = $(this).attr( "type" );
alert( typeValue );
});