[yelp: 1/4] Adding DocBook 5 support.
- From: Shaun McCance <shaunm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [yelp: 1/4] Adding DocBook 5 support.
- Date: Fri, 21 May 2010 23:30:43 +0000 (UTC)
commit bad5a499c6a7660c0cd60cfcb97e7be3c5d4b243
Author: brian m. carlson <sandals crustytoothpaste ath cx>
Date: Thu Apr 22 20:57:11 2010 +0000
Adding DocBook 5 support.
Signed-off-by: brian m. carlson <sandals crustytoothpaste ath cx>
stylesheets/db2html.xsl.in | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/stylesheets/db2html.xsl.in b/stylesheets/db2html.xsl.in
index 80e8712..06f4804 100644
--- a/stylesheets/db2html.xsl.in
+++ b/stylesheets/db2html.xsl.in
@@ -37,8 +37,11 @@ FIXME: yelp:cache no longer works
<xsl:when test="$template = 'info'">
<xsl:value-of select="$db.chunk.info_basename"/>
</xsl:when>
- <xsl:otherwise>
+ <xsl:when test="$node/@id">
<xsl:value-of select="$node/@id"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$node/@xml:id"/>
</xsl:otherwise>
</xsl:choose>
</xsl:param>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]