I have a sql stored procedure which returns the xml data.the select command of my SP is
SELECT TXT1
FROM @tmp1 CT
LEFT JOIN ETEXT TT ON CT.Cate = TT.REFKEY FOR XML AUTO
it returns the xml like
<root>
<item>
<XML_F52E2B61-18A1-11d1-B105-00805F49916B>
<TT TXT1="Mouse"/>
<TT TXT1="Computer"/>
</XML_F52E2B61-18A1-11d1-B105-00805F49916B>
</item>
</root>
I need to style this xml using xslt and print the TXT1 values, from last TXT1 value to First order.I tried some code but it is not possible to get my answer .my code like
<xsl:variable name="cate" select="shop:ExecStoredProcedure('kt_cate',concat('@Dcat:',$default))">
<xsl:variable name="txt1-atts" select="$cate//TT/@TXT1"/>
Anybody help to get my answer?