如题。
外层SQL语句:SELECT TOP 3 ID,FolderName FROM [KS_Class] Where ChannelID=1 and ClassType=1 ORDER BY FolderOrder
内层SQL语句:SELECT TOP 15 id,title,adddate FROM [KS_Article] Where Tid='{R:ID}' Order By adddate Desc
XSLT样式:
<?xml version="1.0" encoding="GB2312"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<xsl:output method="xml" omit-xml-declaration="yes" indent="yes" version="4.0"/>
<xsl:template match="/">
<xsl:for-each select="xml/outerlist/outerrow">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="12"><img src="{$GetInstallDir}images/box_left.gif" width="12" height="44" /></td>
<td width="160" align="center" background="{$GetInstallDir}images/box_bg.gif" class="title1"><a href="{@classlink}"><xsl:value-of select="@foldername" disable-output-escaping="yes" /></a></td>
<td width="11"><img src="{$GetInstallDir}images/box_right.gif" width="11" height="44" /></td>
<td> </td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<xsl:for-each select="innerlist/innerrow">
<tr>
<td>
<img src="{$GetInstallDir}Upfiles/Nav.gif" border="0"/><a href="{@linkurl}" title="{@title}">{KS:CutText(<xsl:value-of select="@title" disable-output-escaping="yes"/>,60,"...")}</a> <span>({@adddate})</span></td>
</tr>
</xsl:for-each>
<div align=right><a href="{@classlink}">更多…</a></div></td>
</tr>
</table>
</xsl:for-each>
</xsl:template>
</xsl:stylesheet>
运行时提示:标签语法错误,检查是否符合XSLT标准
到底是哪里错呢?
帮帮忙,谢谢