equal
deleted
inserted
replaced
|
1 <?xml version="1.0" encoding="UTF-8"?> |
|
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> |
|
3 <xsl:strip-space elements="*"/> |
|
4 <xsl:output method="text"/> |
|
5 |
|
6 <xsl:param name="encumbered">false</xsl:param> |
|
7 |
|
8 <xsl:template match="/pkgs"> |
|
9 <xsl:apply-templates/> |
|
10 </xsl:template> |
|
11 |
|
12 <xsl:template match="pkg"> |
|
13 <xsl:if test="($encumbered='true' and @encumbered='true') or ($encumbered!='true' and not(@encumbered='true'))"> |
|
14 <xsl:value-of select="./name"/> |
|
15 <xsl:text>.spec</xsl:text> |
|
16 <xsl:text> |
|
17 </xsl:text> |
|
18 </xsl:if> |
|
19 |
|
20 </xsl:template> |
|
21 </xsl:stylesheet> |