summaryrefslogtreecommitdiff
path: root/solenv/bin/packcomponents.xslt
diff options
context:
space:
mode:
Diffstat (limited to 'solenv/bin/packcomponents.xslt')
-rw-r--r--solenv/bin/packcomponents.xslt6
1 files changed, 4 insertions, 2 deletions
diff --git a/solenv/bin/packcomponents.xslt b/solenv/bin/packcomponents.xslt
index 6e037a677f73..6dd409cae5cd 100644
--- a/solenv/bin/packcomponents.xslt
+++ b/solenv/bin/packcomponents.xslt
@@ -27,6 +27,8 @@
**********************************************************************-->
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ exclude-result-prefixes="uc"
+ xmlns="http://openoffice.org/2010/uno-components"
xmlns:uc="http://openoffice.org/2010/uno-components">
<xsl:param name="prefix"/>
<xsl:strip-space elements="*"/>
@@ -36,8 +38,8 @@
<xsl:for-each select="list/filename">
<xsl:variable name="doc" select="document(concat($prefix, .))"/>
<xsl:choose>
- <xsl:when test="count($doc/uc:component) = 1">
- <xsl:copy-of select="$doc/uc:component"/>
+ <xsl:when test="count($doc/uc:components/uc:component) = 1">
+ <xsl:copy-of select="$doc/uc:components/uc:component"/>
</xsl:when>
<xsl:otherwise>
<xsl:message terminate="yes">