This XML file does not appear to have any style information associated with it. The document tree is

03-15 阅读 0评论

PS:今天学习调试WebAPI项目,发现浏览器会返回以下说明,因此做一个笔记

This XML file does not appear to have any style information associated with it. The document tree is

API Demo:

This XML file does not appear to have any style information associated with it. The document tree is

This XML file does not appear to have any style information associated with it. The document tree is,This XML file does not appear to have any style information associated with it. The document tree is,词库加载错误:未能找到文件“C:\Users\Administrator\Desktop\火车头9.8破解版\Configuration\Dict_Stopwords.txt”。,学习,关系,作用,第4张
(图片来源网络,侵删)

总结:

报这个信息其实是因为返回的string不是XML可解析供浏览器渲染的。XML文件可以关联一个XSLT文件,用于渲染显示出来的内容。XSLT全称是EXtensible Stylesheet Language,它的作用是把XML文件中的数据用直观的方式显示给用户看,XSLT和XML的关系类似MVC中的V和C。如果XML没有关联XSLT文件,那浏览器就没办法渲染,只好把XML的树形结构显示出来,这就是为什么看到那一条提示。

实际上,没有必要去解决它。这个可忽略他

This XML file does not appear to have any style information associated with it. The document tree is,This XML file does not appear to have any style information associated with it. The document tree is,词库加载错误:未能找到文件“C:\Users\Administrator\Desktop\火车头9.8破解版\Configuration\Dict_Stopwords.txt”。,学习,关系,作用,第5张
(图片来源网络,侵删)

免责声明
本网站所收集的部分公开资料来源于AI生成和互联网,转载的目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。
文章版权声明:除非注明,否则均为主机测评原创文章,转载或复制请以超链接形式并注明出处。

发表评论

快捷回复: 表情:
评论列表 (暂无评论,人围观)

还没有评论,来说两句吧...

目录[+]