📅  最后修改于: 2020-11-09 05:54:53             🧑  作者: Mango
以下是
Sr.No | Name & Description |
---|---|
1 |
select Used to process nodes selected by an XPath expression, instead of processing all the children. |
2 |
mode Allows an element as specified by its Qualified Names to be processed multiple times, each time producing a different result. |
Number of occurrences | Unlimited |
---|---|
Parent elements |
xsl:attribute, xsl:comment, xsl:copy, xsl:element, xsl:fallback, xsl:foreach, xsl:if, xsl:message, xsl:otherwise, xsl:param, xsl:processinginstruction, xsl:template, xsl:variable, xsl:when, xsl:with-param, output elements |
Child elements |
xsl:sort, xsl:with-param |
本示例通过遍历每个学生,创建具有属性rollno及其子元素
students.xml
Dinkar
Kad
Dinkar
85
Vaneet
Gupta
Vinni
95
Jasvir
Singh
Jazz
90
students.xsl
Students
First Name:
Last Name:
Nick Name:
Marks: