XSLT和DOM有什么相似的地方?

来源:百度知道 编辑:UC知道 时间:2024/06/14 09:54:14

XSLT本身就是XML,是用来转换XML的,好象没有标准的编程界面

DOM=Document Object Model,把XML文件全部装载进内存中,然后通过一套基于树模型的W3定义的界面可以操作节点

XSLT is a Programming Language

From a programmer's point of view, XSLT is a programming language for processing XML data—that is, transforming XML documents. As such, it supports the following:

A small set of flexible data types: Boolean, number, string, node-set, and external objects.
A full set of operations: <xsl:template>, <xsl:apply-templates>, <xsl:sort>, <xsl:output>, and so on.
Programming flow-control: <xsl:if>, <xsl:for-each>, <xsl:choose>, and so on.
XSLT adopts the XPath language syntax for expressions. There are also built-in and custom extension functions for bu