XSL是什么以及有什么用XSL代表可扩展样式表语言,它是用来理解和样式化XML文档,它可以作为基于XML的样式表语言,就像CSS是基于HTML的样式表语言一样;它是一种标记语言,可以指定浏览器应该如何呈现XML文档。简单来说,XSL是一种用于以可读格式来呈现XML XSL将XML中的CDATA注释输出为HTML文本的代码实例要利用DOM 来存取XML 文件,你必须将XML 文件连结到HTML 网页上。 示例代码1. test.xml<?xml version="1.0" encoding="gb2312"?><?xml-stylesheet href="tes 1