1 <?xml version=
"1.0" encoding=
"UTF-8"?>
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
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>