Version 7.6.3.2-android, tag libreoffice-7.6.3.2-android
[LibreOffice.git] / solenv / bin / optionalimplementations.xslt
blobfa8ca5b1c7ff80c6c09697f77aeebdf5ea4830ee
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * this "misuses" xsl:message to dump all optional components
10 -->
11 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12 xmlns="http://openoffice.org/2010/uno-components"
13 xmlns:uc="http://openoffice.org/2010/uno-components">
14 <xsl:template match="uc:component">
15 <xsl:for-each select="uc:implementation">
16 <xsl:if test="uc:optional">
17 <xsl:message><xsl:value-of select="@name"/></xsl:message>
18 </xsl:if>
19 </xsl:for-each>
20 </xsl:template>
21 </xsl:stylesheet>