📅  最后修改于: 2020-11-09 05:53:42             🧑  作者: Mango
以下是
Number of Occurrences | Unlimited |
---|---|
Parent elements |
xsl:attribute, xsl:comment, xsl:copy, xsl:element, xsl:fallback, xsl:for-each, xsl:if, xsl:message, xsl:otherwise, xsl:param, xsl:processing-instruction, xsl:template, xsl:variable, xsl:when, xsl:with-param, output elements |
Child elements |
xsl:otherwise, xsl:when |
本示例通过遍历每个学生来创建具有属性rollno及其子元素
students.xml
Dinkar
Kad
Dinkar
85
Vaneet
Gupta
Vinni
95
Jasvir
Singh
Jazz
90
students.xsl
Students
Roll No
First Name
Last Name
Nick Name
Marks
Grade
High
Medium
Low