BLFS: We are defining a variable, not a param.
Current libxslt version complains about that type of improper syntax.
This commit is contained in:
parent
ba5efc414d
commit
55bc23bac9
1 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@
|
||||||
<xsl:variable name="filename" select="@id"/>
|
<xsl:variable name="filename" select="@id"/>
|
||||||
|
|
||||||
<!-- Package name (use "Download FTP" by default. If empty, use "Download HTTP" -->
|
<!-- Package name (use "Download FTP" by default. If empty, use "Download HTTP" -->
|
||||||
<xsl:param name="package">
|
<xsl:variable name="package">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when
|
<xsl:when
|
||||||
test="string-length(sect2[@role='package']/itemizedlist/listitem[2]/para/ulink/@url)
|
test="string-length(sect2[@role='package']/itemizedlist/listitem[2]/para/ulink/@url)
|
||||||
|
@ -46,14 +46,14 @@
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:otherwise>
|
</xsl:otherwise>
|
||||||
</xsl:choose>
|
</xsl:choose>
|
||||||
</xsl:param>
|
</xsl:variable>
|
||||||
|
|
||||||
<!-- FTP dir name -->
|
<!-- FTP dir name -->
|
||||||
<xsl:param name="ftpdir">
|
<xsl:variable name="ftpdir">
|
||||||
<xsl:call-template name="ftp_dir">
|
<xsl:call-template name="ftp_dir">
|
||||||
<xsl:with-param name="package" select="$package"/>
|
<xsl:with-param name="package" select="$package"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:param>
|
</xsl:variable>
|
||||||
|
|
||||||
<!-- The build order -->
|
<!-- The build order -->
|
||||||
<xsl:variable name="position" select="position()"/>
|
<xsl:variable name="position" select="position()"/>
|
||||||
|
|
Reference in a new issue