【发布时间】:2011-02-03 12:23:35
【问题描述】:
如何通过 XSLT 转换设置既是链接又具有链接文本的 href?这是我到目前为止所拥有的,这给了我错误“xsl:value-of cannot be a child of the xsl:text element”:
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:value-of select="actionUrl"/>
</xsl:attribute>
<xsl:text><xsl:value-of select="actionUrl"/></xsl:text>
</xsl:element>
【问题讨论】: