<xsl:variable name="html-output-name"
select="(if(@index and @index eq 'true')
then concat($default-name, '.html')
else(),
@html-output-name,
@output-name,
$default-html)[1]" />
我看到'如果'在做什么,但我不知道如何理解命令中剩余的项目,然后结束[1]。这是否加起来“的第一个非空的项目列表中的“xpath中的逗号运算符,是否像c?
我很荣幸能从Saxon的作者处得到答案。 – bmargulies 2011-03-21 00:55:44