An example of using XSL: KEY tag in XML format conversion

xiaoxiao2021-03-06  79

See: http://community.9cbs.net/expert/topic/3325/3325780.xml? Temp = .8528101

Source format:

a Au 001.xml 2004-7-31 12:46:19 c Chen Baqiang 002.xml 2004-8-31 12:46:19 b Learning 003.xml < Created> 2004-6-31 12:46:19 b Xue 2 004.xml 2004-6-31 12:46:19 d knife 005.xml 2004-6-31 12:46:19

Target format:

A Adu B Learn from the Scholar 2 C Chen Baqiang (New) D Dragon

Description:

The element declares a named key-that is, a name-value pair assigned to a specified element in an XML document The key is used with the key () function in XPath expressions to help you access the assigned elements. IN A Complex XML Document EfficIntly.

Sample code:

转载请注明原文地址:https://www.9cbs.com/read-121502.html

New Post(0)