Is it possible to retrieve an array of elements in E4X for an unknown tagname, similar to how the DOMs getElementsByTagName function works, within a function?
My initial idea was:
(function (doc, tag) {
return doc..[tag];
})
Can this be achieved?