📅  最后修改于: 2020-12-26 06:47:30             🧑  作者: Mango
XSLT
Index | Name | Description |
---|---|---|
1) | Name | It specifies the name of the key to be used. |
2) | Match | It specifies that the pattern must be matched to a node that holds this key. |
3) | Use | It specifies XPath expression to identify the value of the nodes of xml document. |
让我们举个例子,通过遍历每个雇员,创建一个具有其属性“ id”及其子元素“
Employee.xml
Aryan
Gupta
Raju
60000
Sonam
Gupta
Vinni
45000
Peter
Symon
John
20000
员工.xsl
>
Employee
ID
> First Name
Last Name
Nick Name
Salary
>
>
输出: