> they are! Yes, they will appear in the _serialized_ representation, but you don't filter on them.
htmlResponse='<category id=\'c1\'><foof id=\'f1\'></foof></category>';
htmlElementsValid = new Element('div', { html:
htmlResponse.replace(/<(\/)?/g,'<$1mycustom:')}).getChildren();
var catz = htmlElementsValid.filter('category');
catz.each(function(cat){
alert (cat.get('id')); // alerts 'c1'
alert (cat.getFirst().get('id')); // alerts 'f1'
});
-- Sandy
