Chrome中的默认XML样式表? [英] Default XML stylesheet in Chrome?

查看:111
本文介绍了Chrome中的默认XML样式表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Internet Explorer中,用于显示XML文档的默认样式表可以在以下位置找到:

In Internet Explorer, the default stylesheet used to display XML documents can be found at:

res://msxml.dll/DEFAULTSS.xsl

在Firefox中,相当于

In Firefox, the equivalent can be found at

chrome://global/content/xml/XMLPrettyPrint.xsl

Chrome中是否有相同的功能?

Is there something equivalent in Chrome?

推荐答案

a href =https://code.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/xml/XMLViewer.css =nofollow> https://code.google。 COM /于codesearch#OAMlx_jo-CK / src目录/ THIRD_PARTY / WebKit的/来源/ WebCore的/ XML / XMLViewer.css 。该文件与 https://code.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/css/view-source.css ,应该会给你所有你需要的细节。

The CSS for the XML viewer specifically is https://code.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/xml/XMLViewer.css. That file, in combination with https://code.google.com/codesearch#OAMlx_jo-ck/src/third_party/WebKit/Source/WebCore/css/view-source.css, should give you all the detail you need.

另外请记住,您可以在XML文件上使用Web Inspector来查看呈现的HTML,这应该可以帮助您精确拼凑视图的工作方式。

Also remember that you're able to use the Web Inspector on XML files to see the rendered HTML, which should help you piece together exactly how the view works.

这篇关于Chrome中的默认XML样式表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆