">     <xsl:variable name="curModule" select="ancestor::erlref/module"/>     <xsl:variable name="mod" select="@mod"/>     <xsl:variable name="name" select="@name"/>     <xsl:variable name="arity" select="@arity"/>     <xsl:variable name="clause_i" select="@clause_i"/>     <xsl:variable name="spec0" select=         "$i/specs/module[@name=$curModule]/spec              [name=$name and arity=$arity               and (string-length($mod) = 0 or module = $mod)]"/>     <xsl:variable name="spec