我有一个标签,并需要在我的XSLT中为它的属性分配值。
<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:template match="/">
我需要为trId属性分配值,但我现在的方法不起作用,正确的做法是什么?
<ABX trId="<xsl:value-of select="CODE_VALUE"/>">
</xsl:template>
</xsl:stylesheet>