Bump version to 6.4-15
[LibreOffice.git] / readlicense_oo / license / license_html.xsl
blobed84527928a18ce1887e3686a07b12563badde58
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:x="http://www.w3.org/1999/xhtml" version="1.0">
4 <xsl:output method="xml"/>
6 <xsl:param name="build_type" />
7 <xsl:param name="no_mpl_subset" />
8 <xsl:param name="os" />
9 <xsl:param name="themes" />
11 <xsl:template match="x:div">
12 <xsl:choose>
13 <xsl:when test="(
14 not(contains($build_type,@class)) and
15 not(contains($no_mpl_subset,@class)) and
16 not(contains($os,@class)) and
17 not(contains($themes,@class)) and @class)">
18 <!-- do not write out license text for these externals -->
19 </xsl:when>
20 <xsl:otherwise>
21 <xsl:apply-templates select="node()"/>
22 </xsl:otherwise>
23 </xsl:choose>
24 </xsl:template>
26 <xsl:template match="@* | node()">
27 <xsl:copy>
28 <xsl:apply-templates select="@* | node()"/>
29 </xsl:copy>
30 </xsl:template>
32 </xsl:stylesheet>