I am trying to traverse this node I got back from an AJAX call, and am having problems doing so. I am trying to access the name node which is located in facet/#/@attributes/name. I am currently at the # level but am confused on how to access the @ attributes level.
console.log(data.categories); //outputs what you see below.
$(data.categories.facet).each( function(key, value) {
console.log(key + ' : ' + value.attributes); //outputs undefined
});

You have to use square bracket notation
[]to access properties of an object which contain special characters like the@in@attributes.