ÿþ<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd"> <html><head><title>unicode characters which are great than 0xFF are in attribute name</title> <meta http-equiv=Content-Type content="text/html; charset=unicode"> <script> function appendStringToContent(contentBlock, str) { var text = document.createTextNode(str + '\n'); contentBlock.appendChild(text); } function RunTest() { if (window.testRunner) testRunner.dumpAsText(); var obj = document.getElementById('content'); var attr_len = obj.attributes.length; for(var i = 0; i < attr_len; ++i) appendStringToContent(obj, i + '. ' + obj.attributes[i].name + " : " + obj.attributes[i].value); } </script> </head> <body onload="RunTest()"> <pre id="content"0title="http://www.315.com.cn/newwebsite/images0821/315_ca_03.gif" la0ng="zh-cn">All attributes of the content element are: </pre> </body></html>