Making a more solid test.
This commit is contained in:
parent
6d48bb71ad
commit
c1f28d5966
1 changed files with 4 additions and 4 deletions
|
@ -53,11 +53,11 @@
|
||||||
<xsl:if test="(../@id='chapter-temporary-tools' or
|
<xsl:if test="(../@id='chapter-temporary-tools' or
|
||||||
../@id='chapter-building-system' or
|
../@id='chapter-building-system' or
|
||||||
../@id='chapter-bootable') and
|
../@id='chapter-bootable') and
|
||||||
((@condition=$model or not(@condition)) and
|
(count(descendant::screen/userinput) > 0 and
|
||||||
((@vendor=$kernel or not(@vendor)) and
|
|
||||||
count(descendant::screen/userinput) > 0 and
|
|
||||||
count(descendant::screen/userinput) >
|
count(descendant::screen/userinput) >
|
||||||
count(descendant::screen[@role='nodump'])))">
|
count(descendant::screen[@role='nodump'])) and
|
||||||
|
((@condition=$model or not(@condition)) and
|
||||||
|
(@vendor=$kernel or not(@vendor)))">
|
||||||
<!-- The dirs names -->
|
<!-- The dirs names -->
|
||||||
<xsl:variable name="pi-dir" select="../processing-instruction('dbhtml')"/>
|
<xsl:variable name="pi-dir" select="../processing-instruction('dbhtml')"/>
|
||||||
<xsl:variable name="pi-dir-value" select="substring-after($pi-dir,'dir=')"/>
|
<xsl:variable name="pi-dir-value" select="substring-after($pi-dir,'dir=')"/>
|
||||||
|
|
Reference in a new issue