summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
Diffstat (limited to 'packaging')
-rw-r--r--packaging/bookinfo.xsl21
1 files changed, 2 insertions, 19 deletions
diff --git a/packaging/bookinfo.xsl b/packaging/bookinfo.xsl
index af3a665..8b87564 100644
--- a/packaging/bookinfo.xsl
+++ b/packaging/bookinfo.xsl
@@ -89,31 +89,14 @@
namespace="http://www.w3.org/2001/XInclude"><xsl:attribute
name="href"><xsl:value-of
select="$fdpdir"/>/docs-common/common/legalnotice-opl-<xsl:value-of
- select="$lang"/>.xml</xsl:attribute>
- <xsl:element name="xi:fallback"
- namespace="http://www.w3.org/2001/XInclude">
- <xsl:element
- name="xi:include"
- namespace="http://www.w3.org/2001/XInclude"><xsl:attribute
- name="href"><xsl:value-of
- select="$fdpdir"/>/docs-common/common/legalnotice-opl-en_US.xml</xsl:attribute>
- </xsl:element>
- </xsl:element>
- </xsl:element>
+ select="$lang"/>.xml</xsl:attribute></xsl:element>
</xsl:when>
<xsl:otherwise> <!-- assume OPL for now -->
<xsl:element name="xi:include"
namespace="http://www.w3.org/2001/XInclude"><xsl:attribute
name="href"><xsl:value-of
select="$fdpdir"/>/docs-common/common/legalnotice-<xsl:value-of
- select="$lang"/>.xml</xsl:attribute>
- <xsl:element name="xi:fallback"
- namespace="http://www.w3.org/2001/XInclude">
- <xsl:element name="xi:include"
- namespace="http://www.w3.org/2001/XInclude"><xsl:attribute name="href"><xsl:value-of
- select="$fdpdir"/>/docs-common/common/legalnotice-en_US.xml</xsl:attribute></xsl:element>
- </xsl:element>
- </xsl:element>
+ select="$lang"/>.xml</xsl:attribute></xsl:element>
</xsl:otherwise>
</xsl:choose>
</xsl:element>