The method Elemen.getChildElements() does return correct children following a <a attr="value" />.
I know this is probably bad HTML and should be <a attr="value"></a>, but it does crop up a fair bit.
Is there an alternative method to getting child elements? Thanks
Sorry, edit: that should read: The method Element.getChildElements() does NOT return correct children…
Edit2: have posted this in the wrong place. re-posting to help.
Log in to post a comment.
The method Elemen.getChildElements() does return correct children following a <a attr="value" />.
I know this is probably bad HTML and should be <a attr="value"></a>, but it does crop up a fair bit.
Is there an alternative method to getting child elements? Thanks
Sorry, edit: that should read: The method Element.getChildElements() does NOT return correct children…
Edit2: have posted this in the wrong place. re-posting to help.