specfiles.xsl
changeset 3 38fa0b983302
parent 0 9673581c82b4
child 6 678173477765
equal deleted inserted replaced
2:703a514d2a12 3:38fa0b983302
     8   <xsl:template match="/pkgs">
     8   <xsl:template match="/pkgs">
     9     <xsl:apply-templates/>
     9     <xsl:apply-templates/>
    10   </xsl:template>
    10   </xsl:template>
    11 
    11 
    12   <xsl:template match="pkg">
    12   <xsl:template match="pkg">
    13     <xsl:if test="($encumbered='true' and @encumbered='true') or ($encumbered!='true' and not(@encumbered='true'))">
    13     <xsl:if test="(not(@skip='true'))">
    14       <xsl:value-of select="./name"/>
    14        <xsl:if test="($encumbered='true' and @encumbered='true') or ($encumbered!='true' and not(@encumbered='true'))">
    15       <xsl:text>.spec</xsl:text>
    15          <xsl:value-of select="./name"/>
    16       <xsl:text>
    16          <xsl:text>.spec</xsl:text>
       
    17          <xsl:text>
    17 </xsl:text>
    18 </xsl:text>
       
    19        </xsl:if>
    18     </xsl:if>
    20     </xsl:if>
    19 
    21 
    20   </xsl:template>
    22   </xsl:template>
    21 </xsl:stylesheet>
    23 </xsl:stylesheet>