> I'm sorry for my ignorance, but how would that be done??

htmlElementsValid = new Element('div', {
html: htmlResponse.replace(/<(\/)?/g,'<$1mycustom:')
}).getChildren();

Massage  the  invalid tags by prepending a custom namespace -- set the
child  HTML  of a new Element to the massaged string, creating a valid
Elements tree -- pull out the children of the new Element, leaving you
with a usable Elements.

-- Sandy

Reply via email to