Open Nav

使用级联样式表格式化XML

以下是资料介绍,如需要完整的请充值下载.
1.无需注册登录,支付后按照提示操作即可获取该资料.
2.资料以网页介绍的为准,下载后不会有水印.仅供学习参考之用.
   帮助中心
资料介绍:

使用级联样式表格式化XML(中文5400字,英文4500字)
如果你想通过浏览器查看一篇XML文档中的数据,除非你使用专门的XML浏览器来处理你使用的特定XML标记,比如处理MthML的W3C阿马亚浏览器,否则你可能会不走运。然而,很少有专门的XML浏览器存在,而且XML有很多。那你有没有其他选择呢?答案是肯定的。举个例子,你可以使用级联样式表(CSS)。
许多浏览器,比如Netscape Navigator和Internet Explorer,允许你使用CSS格式化XML文档中的数据以便显示,今天你将会看到它是如何运作的。在Web上看到CSS格式化XML变得越来越普遍,而且使用CSS显示数据通常是有意义的。
例如,你可能想要创建一个表,它比一篇40页的XML文档要悦目得多。

Formatting XML by Using Cascading Style Sheets
Say that you want to take a look at the data in an XML document by using a browser. You might be out of luck unless you're using a specialized XML browser that can handle the particular XML markup you're using, such as the W3C Amaya browser that handles MathML. However, there are very few specialized XML browsers out there, and there's a great deal of XML. Don't you have any other options? You do. For one, you can use Cascading Style Sheets (CSS). Many browsers, such as Netscape Navigator and Internet Explorer, let you use CSS to format the data in XML documents for display, and today you're going to see how that works. It's getting more and more common to see CSS-formatted XML on the Web, and it often makes sense to display data by using CSS. You might want to create a table, for example, which is a lot easier on the eyes than a 40-page XML document.

[资料来源:http://www.doc163.com]

  • 关于资料
    提供的资料属本站所有,真实可靠,确保下载的内容与网页资料介绍一致.
  • 如何下载
    提供下载链接或发送至您的邮箱,资料可重复发送,若未收到请联系客服.
  • 疑难帮助
    下载后提供一定的帮助,收到资料后若有疑难问题,可联系客服提供帮助.
  • 关于服务
    确保下载的资料和介绍一致,如核实与资料介绍不符,可申请售后.
  • 资料仅供参考和学习交流之用,请勿做其他非法用途,转载必究,如有侵犯您的权利或有损您的利益,请联系本站,经查实我们会立即进行修正! 版权所有,严禁转载
    doc163.com Copyright © 2012-2024 苏ICP备2021029856号-4