docs: function copyArrayIgnoringAttributesWithoutValue(dst, src)
  {
    if (!src) return;
    for (var i = src.length - 1; i >= 0; --i) {
      // this test will pass so long as the attribute has a non-empty string
      // value, even if that value is "false", "0", "undefined", etc.
      if (src[i].nodeValue) {
        dst.push(src[i]);
      }
    }
  }