Further correction of make_book.xsl
This commit is contained in:
parent
1f3e275542
commit
e86d4cd693
1 changed files with 9 additions and 7 deletions
|
@ -62,9 +62,11 @@
|
||||||
</xsl:when>
|
</xsl:when>
|
||||||
<xsl:otherwise>
|
<xsl:otherwise>
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="not(id($list)/self::sect1|sect2|para|bridgehead)">
|
<xsl:when test="not(id($list)[self::sect1 or self::sect2 or self::para or self::bridgehead])">
|
||||||
<xsl:apply-templates
|
<xsl:apply-templates
|
||||||
select="//sect1[contains(@id,'xorg7') and contains(string(.//userinput),$list)]"
|
select="//sect1[contains(@id,'xorg7')
|
||||||
|
and contains(string(.//userinput),
|
||||||
|
concat($list,'-'))]"
|
||||||
mode="xorg">
|
mode="xorg">
|
||||||
<xsl:with-param name="package" select="$list"/>
|
<xsl:with-param name="package" select="$list"/>
|
||||||
</xsl:apply-templates>
|
</xsl:apply-templates>
|
||||||
|
@ -293,14 +295,14 @@
|
||||||
<xsl:param name="package"/>
|
<xsl:param name="package"/>
|
||||||
<xsl:variable name="tarball">
|
<xsl:variable name="tarball">
|
||||||
<xsl:call-template name="tarball">
|
<xsl:call-template name="tarball">
|
||||||
<xsl:with-param name="package" select="$package"/>
|
<xsl:with-param name="package" select="concat($package,'-')"/>
|
||||||
<xsl:with-param name="cat-md5"
|
<xsl:with-param name="cat-md5"
|
||||||
select="string(.//userinput[starts-with(string(),'cat ')])"/>
|
select="string(.//userinput[starts-with(string(),'cat ')])"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
<xsl:variable name="md5sum">
|
<xsl:variable name="md5sum">
|
||||||
<xsl:call-template name="md5sum">
|
<xsl:call-template name="md5sum">
|
||||||
<xsl:with-param name="package" select="$package"/>
|
<xsl:with-param name="package" select="concat($package,'-')"/>
|
||||||
<xsl:with-param name="cat-md5"
|
<xsl:with-param name="cat-md5"
|
||||||
select=".//userinput[starts-with(string(),'cat ')]"/>
|
select=".//userinput[starts-with(string(),'cat ')]"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
|
|
Reference in a new issue