XML/HTML代码 <html> <head> <title>查看源文件为空-title> <script> function clear() { Source=document.body.firstChild.data; document.open(); document.close(); document.body.innerHTML=Source; } script> head> <body onload=clear()> ….. body> html>