我有一个数据文件,各种样式表都将其称为。我在模板信头中添加了outputChannel
的行。
<xsl:template name="letterhead">
<xsl:call-template name="outputChannel"/>
<xsl:call-template name="receiverAddress"/>
<xsl:call-template name="fields06"/>
<xsl:call-template name="letterReference"/>
<xsl:call-template name="reference1"/>
<xsl:call-template name="reference2"/>
</xsl:template>
outputChannel
仅在一个样式表中使用,其他样式表中出现以下错误:
此样式表中未定义模板'outputChannel'。信息:无其他信息类别:配置
所以我想outputChannel
是必填字段。是否可以将数据文件中的outputChannel
设置为可选?
谢谢!