日期:2014-05-20  浏览次数:20663 次

继续求解,有熟悉xml和xslt的进来看下,急急急急急急!!!!!!
原帖地址:
http://topic.csdn.net/u/20100112/10/25205b06-3562-455d-b857-91bfda4e657d.html?seed=841321667&r=62682903#r_62682903

------解决方案--------------------
全部代码:
test.xml
XML code

<?xml version="1.0" encoding="GB2312"?>
<root>
    <cd>
        <title>Empire Burlesque</title>
        <typeid>001</typeid>
        <year>1985</year>
    </cd>
    <cd>
        <title>Hide your heart</title>
        <typeid>002</typeid>
        <year>1985</year>
    </cd>
    <cd>
        <title>Still got the blues</title>
        <typeid>001</typeid>
        <year>1986</year>
    </cd>
</root>