summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorPaul W. Frields <stickster@gmail.com>2006-03-08 02:56:33 +0000
committerPaul W. Frields <stickster@gmail.com>2006-03-08 02:56:33 +0000
commitc75a6da93d12a1b02e260d59f3e30e6c49fe4d05 (patch)
treecb04b32e4bfb744daa24e1f959b4bee51af29935 /packaging
parent4dc9b2024dd6cc0816d0350caedbe644aac79e62 (diff)
downloadfedora-doc-utils-c75a6da93d12a1b02e260d59f3e30e6c49fe4d05.tar.gz
fedora-doc-utils-c75a6da93d12a1b02e260d59f3e30e6c49fe4d05.tar.xz
fedora-doc-utils-c75a6da93d12a1b02e260d59f3e30e6c49fe4d05.zip
No need for all the extra fallback stuff, just have the file where it
needs to be!
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>