惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

云风的 BLOG
云风的 BLOG
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 叶小钗
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
V2EX
酷 壳 – CoolShell
酷 壳 – CoolShell
月光博客
月光博客
人人都是产品经理
人人都是产品经理
宝玉的分享
宝玉的分享
博客园 - 司徒正美
WordPress大学
WordPress大学
Microsoft Azure Blog
Microsoft Azure Blog
罗磊的独立博客
Vercel News
Vercel News
T
The Blog of Author Tim Ferriss
T
Tailwind CSS Blog
A
About on SuperTechFans
Apple Machine Learning Research
Apple Machine Learning Research
L
LangChain Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
V
Visual Studio Blog
S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News
博客园 - 聂微东

博客园 - 清雨轩

用dom生成html文件.的常见问题 div+css制作企业网站经验收集 appendNode? 可以直接一个节点树 - 清雨轩 - 博客园 php(alexa排名查询) 下拉菜单 美工版(不用写代码) CSS学习随笔 windows2003 ftp及相关权限 php出现Unable to load dynamic library 'c:\php\extensions\php_mssql.dll' - 清雨轩 win2003的服务器配置. 关于引用,还是按值. 开发时会遇到..注意 个人javascript作品集 事件监听是可吃CPU的事情。以后还是不用事件监听 用正则改变字符串的处理速度。 正则表达式 不允许为空 下拉头像菜单 表单检测函数 [原创]使用js+xml制作的IE和FF都支持的树型菜单(程序不到4k哦) 个人觉得比较经典的菜单(来源:kijiji.cn) [转载]纯js解决小偷的乱码.(强)
faq:responseXML has no properties in firefox or responseX...
清雨轩 · 2006-10-03 · via 博客园 - 清雨轩
  • Errors reading XML data files
The errors "xmlDoc has no properties" may indicate slow server response or incorrect server MIME type setting. "documentElement is null or not an object" is usually caused by your server setting the wrong MIME type on your XML data file. If you can't change your server to set the MIME type to "text/xml" you can change your code to use "var xmlDoc = GXml.parse(request.responseText);" instead of "var xmlDoc = request.responseXML;". Also, an ampersand ('&') in the xml file may cause the xml file to behave as if it has no contents when trying to be read by the Google Map.

         以上内容摘自:http://mapki.com/index.php?title=FAQs
        意思:服务器输出类型不是xml型。我测试了以下asp 代码如下:
    <%@ language="jscript" codepage="65001"%>
<%
Response.charset="utf-8";
Response.ContentType="text/xml";
Response.Write("<?xml version='1.0' encoding='utf-8' ?>")
Response.Write("<root><name>a</name><name>b&amp;a</name></root>");
%>
  以上代码获取,在firefox下,也可以有ResponseXML的 [object XMLdocument]
   
  如果服务器类型是别的类型。请使用
   new DOMParser().parseFromString(req.responseText,'text/xml')