Jonas Sicking: > In any case, using element traversal you can decently easy check if > content is skipped so that you can indicate an error, simply check if > myElem.nextElementSibling != myElem.nextSibling
|| myElement.nextSibling.isElementContentWhitespace which is I think what Ray was after. But I agree, having ElementTraversal always ignore Text nodes will be more useful than defining .{next,previous}ElementOrUsefulTextSibling methods. -- Cameron McCormack, http://mcc.id.au/ xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED]