<xsl:apply-templates/>是如何应用的!
时间:2007-09-09
来源:互联网
<?xml version='1.0' encoding="gb2312" ?>
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl" >
<xsl:template match="/">
<html>
<head>
<title>网上书屋</title>
</head>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="网上书屋">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="分类">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
<xsl:apply-templates/>所指的节点是哪个节点呢??是<xsl:template match="/">所指的节点吗???这样的话。岂不是造成的递归???
<xsl:stylesheet
xmlns:xsl="http://www.w3.org/TR/WD-xsl" >
<xsl:template match="/">
<html>
<head>
<title>网上书屋</title>
</head>
<body>
<xsl:apply-templates/>
</body>
</html>
</xsl:template>
<xsl:template match="网上书屋">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="分类">
<xsl:apply-templates/>
</xsl:template>
</xsl:stylesheet>
<xsl:apply-templates/>所指的节点是哪个节点呢??是<xsl:template match="/">所指的节点吗???这样的话。岂不是造成的递归???
作者: yahoo 发布时间: 2007-09-09
<xsl:apply-templates/>
相当于
<xsl:apply-templates match="*" />
相当于
<xsl:apply-templates match="*" />
作者: Starling 发布时间: 2007-09-13
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28