Lines Matching refs:xsl

1 <xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">  nsprefix
26 <xsl:variable name="now" select="current-dateTime()"/>
28 <xsl:template match="/">
32 <xsl:comment>Generated at <xsl:value-of select="$now"/></xsl:comment>
65 <xsl:apply-templates/>
66 <xsl:call-template name="generated"/>
69 </xsl:template>
71 <xsl:template match="rat-report">
82 …<td colspan="1" class="notes">Notes: <xsl:value-of select="count(descendant::type[attribute::name=…
83 …<td colspan="1" class="binaries">Binaries: <xsl:value-of select="count(descendant::type[attribute:…
84 …<td colspan="1" class="archives">Archives: <xsl:value-of select="count(descendant::type[attribute:…
85 …<td colspan="1" class="standards">Standards: <xsl:value-of select="count(descendant::type[attribut…
88 …<td colspan="2" class="licenced">Apache Licensed: <xsl:value-of select="count(descendant::header-t…
89 …<td colspan="2" class="generated">Generated Documents: <xsl:value-of select="count(descendant::hea…
96 <xsl:choose>
97 <xsl:when test="count(descendant::header-type[attribute::name=&quot;?????&quot;]) &gt; 0">
98 …<td colspan="4" class="unknown"><xsl:value-of select="count(descendant::header-type[attribute::nam…
99 </xsl:when>
100 <xsl:otherwise>
101 …<td colspan="4" class="unknown-zero"><xsl:value-of select="count(descendant::header-type[attribute…
102 </xsl:otherwise>
103 </xsl:choose>
110 <xsl:for-each select="descendant::resource[license-approval/@name=&quot;false&quot;]">
111 <xsl:text> </xsl:text>
112 <xsl:value-of select="@name"/><br/>
113 <xsl:text>
114 </xsl:text>
115 </xsl:for-each>
120 <xsl:for-each select="descendant::resource[type/@name=&quot;archive&quot;]">
121 + <xsl:value-of select="@name"/>
123 </xsl:for-each>
133 <xsl:for-each select="descendant::resource">
134 <xsl:choose>
135 <xsl:when test="license-approval/@name=&quot;false&quot;">!</xsl:when>
136 <xsl:otherwise><xsl:text> </xsl:text></xsl:otherwise>
137 </xsl:choose>
138 <xsl:choose>
139 <xsl:when test="type/@name=&quot;notice&quot;">N   </xsl:when>
140 <xsl:when test="type/@name=&quot;archive&quot;">A   </xsl:when>
141 <xsl:when test="type/@name=&quot;binary&quot;">B   </xsl:when>
142 …<xsl:when test="type/@name=&quot;standard&quot;"><xsl:value-of select="header-type/@name"/></xsl:w…
143 <xsl:otherwise>!!!!!</xsl:otherwise>
144 </xsl:choose>
145 <xsl:text>      </xsl:text>
146 <xsl:value-of select="@name"/><br/>
147 <xsl:text>
148 </xsl:text>
149 </xsl:for-each>
154 <xsl:for-each select="descendant::resource[header-type/@name=&quot;?????&quot;]">
156 <h4><xsl:value-of select="@name"/></h4>
157 <xsl:value-of select="header-sample"/>
159 </xsl:for-each>
162 <!-- <xsl:apply-templates select="resource"/>
163 <xsl:apply-templates select="header-sample"/>
164 <xsl:apply-templates select="header-type"/>
165 <xsl:apply-templates select="license-family"/>
166 <xsl:apply-templates select="license-approval"/>
167 <xsl:apply-templates select="type"/> -->
169 </xsl:template>
171 <xsl:template match="resource">
173 <h3>Resource: <xsl:value-of select="@name"/></h3>
174 <xsl:apply-templates/>
176 </xsl:template>
178 <xsl:template match="header-sample">
179 <xsl:if test="normalize-space(.) != ''">
182 <xsl:value-of select="."/>
184 </xsl:if>
186 </xsl:template>
188 <xsl:template match="header-type">
189 Header Type: <xsl:value-of select="@name"/>
191 </xsl:template>
193 <xsl:template match="license-family">
194 License Family: <xsl:value-of select="@name"/>
196 </xsl:template>
198 <xsl:template match="license-approval">
199 License Approval: <xsl:value-of select="@name"/>
201 </xsl:template>
203 <xsl:template match="type">
204 Type: <xsl:value-of select="@name"/>
206 </xsl:template>
208 <xsl:template name="generated">
209 <p>Generated at <xsl:value-of select="$now"/></p>
210 </xsl:template>
211 </xsl:transform>