zoukankan
html css js c++ java
xsl中 xsl:nodename 属性...
<?
xml version="1.0" encoding="gb2312"
?>
<
xsl:stylesheet
xmlns:xsl
="http://www.w3.org/TR/WD-xsl"
>
<
xsl:template
math
="/"
>
<
html
>
<
head
><
title
>
使用 xsl:node-name
</
title
></
head
>
<
body
>
<
h3
align
="center"
>
使用 xsl:node-name
<
hr
/></
h3
>
<
table
border
="1"
>
<
xsl:for-each
select
="产品系列/产品"
>
<
tr
>
<
xsl:apply-templates
/>
</
tr
>
</
xsl:for-each
>
</
table
>
</
body
>
</
html
>
</
xsl:template
>
<
xsl:template
match
="*"
>
<
td
>
<
xsl:node-name
/></
td
>
<
td
><
xsl:value-of
/></
td
>
</
xsl:template
>
</
xsl:stylesheet
>
<?
xml version="1.0" encoding="gb2312"
?>
<?
xml-stylesheet type="text/xsl" href="node-name.xsl"
?>
<
产品系列
>
<
产品
>
<
型号
>
mag xj570
</
型号
>
<
显像管 水平="0
.24mm" 垂直
="0.12mm"
尺寸
="15"
>
0.28极细至点
</
显像管
>
<
控制
>
视控 onview 视 view Math
</
控制
>
<
分辨率
>
1280*1024
</
分辨率
>
<
符合标准
>
MPRII 标准
</
符合标准
>
<
价格
>
1399
</
价格
>
<
降价
>
200元
</
降价
>
</
产品
>
<
产品
>
<
型号
>
mag xj570
</
型号
>
<
显像管 水平="0
.24mm" 垂直
="0.12mm"
尺寸
="15"
>
0.28极细至点
</
显像管
>
<
控制
>
视控 onview 视 view Math
</
控制
>
<
分辨率
>
1280*1024
</
分辨率
>
<
符合标准
>
MPRII 标准
</
符合标准
>
<
价格
>
13990
</
价格
>
<
降价
>
2000元
</
降价
>
</
产品
>
</
产品系列
>
查看全文
相关阅读:
【纪中集训2019.3.19】原样输出
【纪中集训2019.3.11】树上四次求和
【纪中集训2019.3.11】Cubelia
【纪中集训2019.3.14】小凯的疑惑
leetcode 18 4Sum
leetcode 17 Letter Combinations of a Phone Number
leetcode 11 Container With Most Water
leetcode 16 3Sum Closest
leetcode 15 3Sum
leetcode 14 Longest Common Prefix
原文地址:https://www.cnblogs.com/gwazy/p/146110.html
最新文章
32位和64位系统区别及int字节数
字符串的排列
寻找兄弟字符串
翻转句子中单词的顺序
Spark- SparkStreaming可更新状态的实例
Python- 列表内置方法
Spark- RDD简介
Kafka- Kafka架构功能
Storm- Storm作业提交运行流程
Python- and & or 的短路原则
热门文章
Hive- Hive 按时间定期插入分区表
Hadoop- MR的shuffle过程
HIVE- 数据倾斜
JAVA- 数据库连接池原理
【纪中集训2019.3.23】IOer
【纪中集训2019.3.23】染色
【纪中集训2019.3.21】桥
【纪中集训2019.3.20】铁路
【纪中集训2019.3.20】河
【纪中集训2019.3.19】不同的缩写
Copyright © 2011-2022 走看看