我有以下XSL转换:
<xsl:for-each select="refsect1[@id = 'seealso']/para/citerefentry"> /// <seealso cref=""/> <xsl:value-of select="refentrytitle" /> </xsl:for-each>
解决方法
I don’t understand how place the value of refentrytitle in the cref
attribute of the seealso tag in the template.
只需将表达式放在大括号内(这称为Attribute Value Templates或简称为AVT语法),如下所示:
<seealso cref="{refentrytitle}"/>