<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]" />
'if'가 무엇을하는지 알지만, 명령의 나머지 항목을 이해하는 방법과 마지막에 [1]을 이해하는 방법을 모르겠습니다. 이 목록의 첫 번째 비어 있지 않은 항목 '을 추가 하는가 "xpath에서 쉼표 연산자는 c와 유사합니까?
저는 색슨 (Saxon)의 저자로부터 답을 얻게되어 영광입니다. – bmargulies