id: node.parent().attr('id')\r
}\r
var children = [];\r
- node.children().each(function() {\r
+ node.children('[wlxml-tag]').each(function() {\r
var child = $(this);\r
children.push({repr: child.attr('wlxml-tag') + ' / ' + (child.attr('wlxml-class') || '[[no class]]'), id: child.attr('id')});\r
});\r