博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
XSLD 简单小例子
阅读量:7236 次
发布时间:2019-06-29

本文共 637 字,大约阅读时间需要 2 分钟。

                      <xsl:element name="a">

                                            <xsl:attribute name="href">
                                                javascript:clickRow(''<xsl:value-of select="../childName"/>'')
                                            </xsl:attribute>
                                            <xsl:element name="img">
                                                <xsl:attribute name="src">
                                                    images/euristheme/tree/elbow-plus-nl.gif
                                                </xsl:attribute>
                                                <xsl:attribute name="id">
                                                    SalesReport<xsl:value-of select="../selfName"/>
                                                </xsl:attribute>
                                                <xsl:attribute name="style">
                                                    float:right;
                                                </xsl:attribute>
                                            </xsl:element>
                                            <xsl:if test="child::node() = -999">
                                                -
                                            </xsl:if>
                                            <xsl:if test="child::node() != -999">
                                                <xsl:value-of select="."/>
                                            </xsl:if>
                                        </xsl:element>

转载于:https://www.cnblogs.com/yubuaishui/archive/2011/03/28/1997807.html

你可能感兴趣的文章
jQuery1.6从使用到源码教程-get()
查看>>
ssh登录慢的解决办法
查看>>
我的友情链接
查看>>
shell分析nginx日志
查看>>
Centos中文字体支持
查看>>
Linux文件权限
查看>>
druid配置db2参考记录
查看>>
快速排序
查看>>
KindEditor编辑器在j2ee项目中的运用及常用问题回顾
查看>>
vue使用的经验总结
查看>>
Win7系统优化十大技巧
查看>>
uio浅析
查看>>
PHP中$_FILES的使用及注意事项
查看>>
Linux命令之which
查看>>
蓦然回头看JAVA线程变量 ThreadLocal
查看>>
Centos 6.5 装机后安装设置,含脚本
查看>>
mysql self join的实现--left join 和inner join
查看>>
http请求
查看>>
国学与科学:如何培养中国人的科学创新思考技术
查看>>
MergeSort (归并排序)
查看>>