aboutsummaryrefslogtreecommitdiffstats
path: root/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml')
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/db5strip.xsl30
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/docbook.xsl2
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl4
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/glossary.xsl10
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/graphics.xsl18
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/highlight.xsl15
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/inline.xsl4
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl275
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/pi.xsl96
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-docbook.xsl2
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl25
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl7
-rw-r--r--stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl2
13 files changed, 261 insertions, 229 deletions
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/db5strip.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/db5strip.xsl
deleted file mode 100644
index 140dec0e6..000000000
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/db5strip.xsl
+++ /dev/null
@@ -1,30 +0,0 @@
-<?xml version="1.0" encoding="US-ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets. Do not edit this file.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" xmlns:exsl="http://exslt.org/common" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="db ng exsl" version="1.0">
-
-<xsl:import href="docbook.xsl"/>
-
-<xsl:output method="xml" encoding="UTF-8" indent="no" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
-
-<xsl:template match="/">
- <xsl:choose>
- <!-- include extra test for Xalan quirk -->
- <xsl:when test="(function-available('exsl:node-set') or contains(system-property('xsl:vendor'), 'Apache Software Foundation')) and (*/self::ng:* or */self::db:*)">
- <!-- Hack! If someone hands us a DocBook V5.x or DocBook NG document,
- toss the namespace and continue. Someday we'll reverse this logic
- and add the namespace to documents that don't have one.
- But not before the whole stylesheet has been converted to use
- namespaces. i.e., don't hold your breath -->
- <xsl:message>Stripping namespace from DocBook 5 document.</xsl:message>
- <xsl:apply-templates mode="stripNS"/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:message terminate="yes">
- <xsl:text>Cannot strip without exsl:node-set.</xsl:text>
- </xsl:message>
- </xsl:otherwise>
- </xsl:choose>
-</xsl:template>
-
-</xsl:stylesheet>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/docbook.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/docbook.xsl
index 4e8e9e017..85fdd722a 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/docbook.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/docbook.xsl
@@ -93,7 +93,7 @@
<xsl:text>, but no template matches.</xsl:text>
</xsl:message>
- <span xmlns:saxon="http://icl.com/saxon" class="ERROR">
+ <span style="color: red">
<xsl:text>&lt;</xsl:text>
<xsl:value-of select="name(.)"/>
<xsl:text>&gt;</xsl:text>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl
index f906e34b9..b1f57efeb 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl
@@ -103,9 +103,7 @@
<xsl:variable name="content">
<div class="{$class}">
<xsl:if test="$spacing.paras != 0"><p/></xsl:if>
- <xsl:call-template name="anchor">
- <xsl:with-param name="conditional" select="0"/>
- </xsl:call-template>
+ <xsl:call-template name="anchor"/>
<xsl:apply-templates/>
<!-- HACK: This doesn't belong inside formal.object; it
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/glossary.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/glossary.xsl
index 0a5e449ec..1663a9ccd 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/glossary.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/glossary.xsl
@@ -49,8 +49,11 @@
<xsl:when test="glossdiv">
<xsl:apply-templates select="(glossdiv[1]/preceding-sibling::*)"/>
</xsl:when>
- <xsl:otherwise>
+ <xsl:when test="glossentry">
<xsl:apply-templates select="(glossentry[1]/preceding-sibling::*)"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
</xsl:otherwise>
</xsl:choose>
@@ -58,7 +61,7 @@
<xsl:when test="glossdiv">
<xsl:apply-templates select="glossdiv"/>
</xsl:when>
- <xsl:otherwise>
+ <xsl:when test="glossentry">
<dl>
<xsl:choose>
<xsl:when test="$glossary.sort != 0">
@@ -71,6 +74,9 @@
</xsl:otherwise>
</xsl:choose>
</dl>
+ </xsl:when>
+ <xsl:otherwise>
+ <!-- empty glossary -->
</xsl:otherwise>
</xsl:choose>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/graphics.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/graphics.xsl
index 4fa715323..08fdd8849 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/graphics.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/graphics.xsl
@@ -1076,14 +1076,7 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
</xsl:template>
<xsl:template match="imageobject">
- <xsl:choose>
- <xsl:when xmlns:svg="http://www.w3.org/2000/svg" test="svg:*">
- <xsl:apply-templates/>
- </xsl:when>
- <xsl:otherwise>
- <xsl:apply-templates select="imagedata"/>
- </xsl:otherwise>
- </xsl:choose>
+ <xsl:apply-templates select="imagedata"/>
</xsl:template>
<xsl:template match="imagedata">
@@ -1094,6 +1087,15 @@ valign: <xsl:value-of select="@valign"/></xsl:message>
</xsl:variable>
<xsl:choose>
+ <!-- Handle MathML and SVG markup in imagedata -->
+ <xsl:when xmlns:mml="http://www.w3.org/1998/Math/MathML" test="mml:*">
+ <xsl:apply-templates/>
+ </xsl:when>
+
+ <xsl:when xmlns:svg="http://www.w3.org/2000/svg" test="svg:*">
+ <xsl:apply-templates/>
+ </xsl:when>
+
<xsl:when test="@format='linespecific'">
<xsl:choose>
<xsl:when test="$use.extensions != '0' and $textinsert.extension != '0'">
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/highlight.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/highlight.xsl
index 0fe3ac08e..27634a0eb 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/highlight.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/highlight.xsl
@@ -18,36 +18,35 @@
</xsl:template>
<xsl:template match="xslthl:string">
- <b class="hl-string"><i><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></i></b>
+ <b class="hl-string"><i style="color:red"><xsl:apply-templates/></i></b>
</xsl:template>
<xsl:template match="xslthl:comment">
- <i class="hl-comment"><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></i>
+ <i class="hl-comment" style="color: silver"><xsl:apply-templates/></i>
</xsl:template>
<xsl:template match="xslthl:tag">
- <b class="hl-tag"><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></b>
+ <b class="hl-tag" style="color: blue"><xsl:apply-templates/></b>
</xsl:template>
<xsl:template match="xslthl:attribute">
- <span class="hl-attribute"><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></span>
+ <span class="hl-attribute" style="color: blue"><xsl:apply-templates/></span>
</xsl:template>
<xsl:template match="xslthl:value">
- <span class="hl-value"><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></span>
+ <span class="hl-value" style="color: blue"><xsl:apply-templates/></span>
</xsl:template>
<xsl:template match="xslthl:html">
- <b><i><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></i></b>
+ <b><i style="color: red"><xsl:apply-templates/></i></b>
</xsl:template>
<xsl:template match="xslthl:xslt">
- <b><span xmlns:saxon="http://icl.com/saxon" class="ERROR"><xsl:apply-templates/></span></b>
+ <b style="color: blue"><xsl:apply-templates/></b>
</xsl:template>
<xsl:template match="xslthl:section">
<b><xsl:apply-templates/></b>
</xsl:template>
-
</xsl:stylesheet>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/inline.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/inline.xsl
index 4ccc6a775..3751e7182 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/inline.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/inline.xsl
@@ -81,7 +81,7 @@
</xsl:attribute>
<xsl:choose>
- <xsl:when test="$node/@xlink.title">
+ <xsl:when test="$node/@xlink:title">
<xsl:attribute name="title">
<xsl:value-of select="$node/@xlink:title"/>
</xsl:attribute>
@@ -117,7 +117,7 @@
<xsl:attribute name="href">
<xsl:value-of select="$xhref"/>
</xsl:attribute>
- <xsl:if test="$node/@xlink.title">
+ <xsl:if test="$node/@xlink:title">
<xsl:attribute name="title">
<xsl:value-of select="$node/@xlink:title"/>
</xsl:attribute>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl
index ad241519c..1eee787af 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl
@@ -2,7 +2,7 @@
<!--This file was created automatically by html2xhtml-->
<!--from the HTML stylesheets.-->
<!-- This file is generated from param.xweb -->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns="http://docbook.org/ns/docbook" exclude-result-prefixes="src" version="1.0">
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml" version="1.0">
<!-- ********************************************************************
$Id$
@@ -14,7 +14,7 @@
******************************************************************** -->
-<xsl:param name="admon.graphics.extension" select="'.png'"/>
+<xsl:param name="admon.graphics.extension">.png</xsl:param>
<xsl:param name="admon.graphics" select="0"/>
<xsl:param name="admon.graphics.path">images/</xsl:param>
<xsl:param name="admon.style">
@@ -65,63 +65,68 @@ div.annotation-close { position: absolute;
right: 2px;
}
</xsl:param>
-<xsl:param name="annotation.js" select="'http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js'"/>
-<xsl:param name="annotation.graphic.open" select="'http://docbook.sourceforge.net/release/images/annot-open.png'"/>
-<xsl:param name="annotation.graphic.close" select="'http://docbook.sourceforge.net/release/images/annot-close.png'"/>
+
+<xsl:param name="annotation.js">
+<xsl:text>http://docbook.sourceforge.net/release/script/AnchorPosition.js http://docbook.sourceforge.net/release/script/PopupWindow.js</xsl:text></xsl:param>
+
+<xsl:param name="annotation.graphic.open">http://docbook.sourceforge.net/release/images/annot-open.png</xsl:param>
+<xsl:param name="annotation.graphic.close">
+http://docbook.sourceforge.net/release/images/annot-close.png</xsl:param>
<xsl:param name="annotation.support" select="0"/>
-<xsl:param name="appendix.autolabel" select="'A'"/>
+<xsl:param name="appendix.autolabel">A</xsl:param>
<xsl:param name="author.othername.in.middle" select="1"/>
-<xsl:param name="autotoc.label.separator" select="'. '"/>
+<xsl:param name="autotoc.label.separator">. </xsl:param>
<xsl:param name="autotoc.label.in.hyperlink" select="1"/>
-<xsl:param name="base.dir" select="''"/>
+<xsl:param name="base.dir"/>
<xsl:param name="biblioentry.item.separator">. </xsl:param>
-<xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/>
+<xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param>
+
<xsl:param name="bibliography.numbered" select="0"/>
-<xsl:param name="bibliography.style" select="'normal'"/>
-<xsl:param name="blurb.on.titlepage.enabled">0</xsl:param>
+<xsl:param name="bibliography.style">normal</xsl:param>
+<xsl:param name="blurb.on.titlepage.enabled" select="0"/>
<xsl:param name="bridgehead.in.toc" select="0"/>
-<xsl:param name="callout.defaultcolumn" select="'60'"/>
-<xsl:param name="callout.graphics.extension" select="'.png'"/>
+<xsl:param name="callout.defaultcolumn">60</xsl:param>
+<xsl:param name="callout.graphics.extension">.png</xsl:param>
-<xsl:param name="callout.graphics" select="'1'"/>
-<xsl:param name="callout.graphics.number.limit" select="'15'"/>
+<xsl:param name="callout.graphics" select="1"/>
+<xsl:param name="callout.graphics.number.limit">15</xsl:param>
-<xsl:param name="callout.graphics.path" select="'images/callouts/'"/>
-<xsl:param name="callout.list.table" select="'1'"/>
+<xsl:param name="callout.graphics.path">images/callouts/</xsl:param>
+<xsl:param name="callout.list.table" select="1"/>
<xsl:param name="callout.unicode" select="0"/>
-<xsl:param name="callout.unicode.number.limit" select="'10'"/>
-<xsl:param name="callout.unicode.start.character" select="10102"/>
-<xsl:param name="callouts.extension" select="'1'"/>
+<xsl:param name="callout.unicode.number.limit">10</xsl:param>
+<xsl:param name="callout.unicode.start.character">10102</xsl:param>
+<xsl:param name="callouts.extension" select="1"/>
<xsl:param name="chapter.autolabel" select="1"/>
<xsl:param name="chunk.append"/>
<xsl:param name="chunk.first.sections" select="0"/>
<xsl:param name="chunk.quietly" select="0"/>
<xsl:param name="chunk.section.depth" select="1"/>
-<xsl:param name="chunk.toc" select="''"/>
+<xsl:param name="chunk.toc"/>
<xsl:param name="chunk.tocs.and.lots" select="0"/>
<xsl:param name="chunk.tocs.and.lots.has.title" select="1"/>
<xsl:param name="chunk.separate.lots" select="0"/>
-<xsl:param name="citerefentry.link" select="'0'"/>
-<xsl:param name="collect.xref.targets" select="'no'"/>
+<xsl:param name="citerefentry.link" select="0"/>
+<xsl:param name="collect.xref.targets">no</xsl:param>
<xsl:param name="component.label.includes.part.label" select="0"/>
<xsl:param name="contrib.inline.enabled">1</xsl:param>
<xsl:param name="css.decoration" select="1"/>
-<xsl:param name="current.docid" select="''"/>
+<xsl:param name="current.docid"/>
<xsl:param name="default.float.class">
<xsl:choose>
<xsl:when test="contains($stylesheet.result.type,'html')">left</xsl:when>
<xsl:otherwise>before</xsl:otherwise>
</xsl:choose>
</xsl:param>
-<xsl:param name="default.image.width" select="''"/>
-<xsl:param name="default.table.width" select="''"/>
-<xsl:param name="default.table.frame" select="'all'"/>
-<xsl:param name="draft.mode" select="'maybe'"/>
-<xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"/>
-<xsl:param name="ebnf.table.bgcolor" select="'#F5DCB3'"/>
+<xsl:param name="default.image.width"/>
+<xsl:param name="default.table.width"/>
+<xsl:param name="default.table.frame">all</xsl:param>
+<xsl:param name="draft.mode">maybe</xsl:param>
+<xsl:param name="draft.watermark.image">http://docbook.sourceforge.net/release/images/draft.png</xsl:param>
+<xsl:param name="ebnf.table.bgcolor">#F5DCB3</xsl:param>
<xsl:param name="ebnf.table.border" select="1"/>
<xsl:param name="ebnf.assignment">
-<code xmlns="http://www.w3.org/1999/xhtml">::=</code>
+<code>::=</code>
</xsl:param>
<xsl:param name="ebnf.statement.terminator"/>
@@ -131,13 +136,13 @@ div.annotation-close { position: absolute;
<xsl:param name="eclipse.plugin.id">com.example.help</xsl:param>
<xsl:param name="eclipse.plugin.provider">Example provider</xsl:param>
<xsl:param name="editedby.enabled">1</xsl:param>
-<xsl:param name="email.delimiters.enabled">1</xsl:param>
+<xsl:param name="email.delimiters.enabled" select="1"/>
<xsl:param name="emphasis.propagates.style" select="1"/>
<xsl:param name="entry.propagates.style" select="1"/>
<xsl:param name="firstterm.only.link" select="0"/>
<xsl:param name="footer.rule" select="1"/>
-<xsl:param name="footnote.number.format" select="'1'"/>
-<xsl:param name="footnote.number.symbols" select="''"/>
+<xsl:param name="footnote.number.format">1</xsl:param>
+<xsl:param name="footnote.number.symbols"/>
<xsl:param name="formal.procedures" select="1"/>
<xsl:param name="formal.title.placement">
figure before
@@ -149,8 +154,8 @@ task before
</xsl:param>
<xsl:param name="funcsynopsis.decoration" select="1"/>
<xsl:param name="funcsynopsis.style">kr</xsl:param>
-<xsl:param name="funcsynopsis.tabular.threshold" select="40"/>
-<xsl:param name="function.parens">0</xsl:param>
+<xsl:param name="funcsynopsis.tabular.threshold">40</xsl:param>
+<xsl:param name="function.parens" select="0"/>
<xsl:param name="generate.id.attributes" select="0"/>
<xsl:param name="generate.index" select="1"/>
<xsl:param name="generate.legalnotice.link" select="0"/>
@@ -178,30 +183,30 @@ section toc
set toc,title
</xsl:param>
-<xsl:param name="glossary.collection" select="''"/>
+<xsl:param name="glossary.collection"/>
<xsl:param name="glossary.sort" select="0"/>
-<xsl:param name="glossentry.show.acronym" select="'no'"/>
+<xsl:param name="glossentry.show.acronym">no</xsl:param>
<xsl:param name="glossterm.auto.link" select="0"/>
<xsl:param name="graphic.default.extension"/>
<xsl:param name="graphicsize.extension" select="1"/>
<xsl:param name="graphicsize.use.img.src.path" select="0"/>
<xsl:param name="header.rule" select="1"/>
-<xsl:param name="highlight.default.language" select="''"/>
+<xsl:param name="highlight.default.language"/>
<xsl:param name="highlight.source" select="0"/>
<xsl:param name="html.append"/>
<xsl:param name="html.base"/>
-<xsl:param name="html.cellpadding" select="''"/>
-<xsl:param name="html.cellspacing" select="''"/>
+<xsl:param name="html.cellpadding"/>
+<xsl:param name="html.cellspacing"/>
<xsl:param name="html.cleanup" select="1"/>
-<xsl:param name="html.ext" select="'.html'"/>
+<xsl:param name="html.ext">.html</xsl:param>
<xsl:param name="html.extra.head.links" select="0"/>
<xsl:param name="html.head.legalnotice.link.types">copyright</xsl:param>
<xsl:param name="html.head.legalnotice.link.multiple" select="1"/>
<xsl:param name="html.longdesc" select="1"/>
<xsl:param name="html.longdesc.link" select="$html.longdesc"/>
-<xsl:param name="html.stylesheet" select="''"/>
+<xsl:param name="html.stylesheet"/>
<xsl:param name="html.stylesheet.type">text/css</xsl:param>
-<xsl:param name="htmlhelp.alias.file" select="'alias.h'"/>
+<xsl:param name="htmlhelp.alias.file">alias.h</xsl:param>
<xsl:param name="htmlhelp.autolabel" select="0"/>
<xsl:param name="htmlhelp.button.back" select="1"/>
<xsl:param name="htmlhelp.button.forward" select="0"/>
@@ -209,10 +214,10 @@ set toc,title
<xsl:param name="htmlhelp.button.home" select="0"/>
<xsl:param name="htmlhelp.button.home.url"/>
<xsl:param name="htmlhelp.button.jump1" select="0"/>
-<xsl:param name="htmlhelp.button.jump1.title" select="'User1'"/>
+<xsl:param name="htmlhelp.button.jump1.title">User1</xsl:param>
<xsl:param name="htmlhelp.button.jump1.url"/>
<xsl:param name="htmlhelp.button.jump2" select="0"/>
-<xsl:param name="htmlhelp.button.jump2.title" select="'User2'"/>
+<xsl:param name="htmlhelp.button.jump2.title">User2</xsl:param>
<xsl:param name="htmlhelp.button.jump2.url"/>
<xsl:param name="htmlhelp.button.locate" select="0"/>
<xsl:param name="htmlhelp.button.next" select="1"/>
@@ -222,75 +227,77 @@ set toc,title
<xsl:param name="htmlhelp.button.refresh" select="0"/>
<xsl:param name="htmlhelp.button.stop" select="0"/>
<xsl:param name="htmlhelp.button.zoom" select="0"/>
-<xsl:param name="htmlhelp.chm" select="'htmlhelp.chm'"/>
-<xsl:param name="htmlhelp.default.topic" select="''"/>
+<xsl:param name="htmlhelp.chm">htmlhelp.chm</xsl:param>
+<xsl:param name="htmlhelp.default.topic"/>
<xsl:param name="htmlhelp.display.progress" select="1"/>
-<xsl:param name="htmlhelp.encoding" select="'iso-8859-1'"/>
+<xsl:param name="htmlhelp.encoding">iso-8859-1</xsl:param>
<xsl:param name="htmlhelp.enhanced.decompilation" select="0"/>
<xsl:param name="htmlhelp.enumerate.images" select="0"/>
<xsl:param name="htmlhelp.force.map.and.alias" select="0"/>
<xsl:param name="htmlhelp.hhc.binary" select="1"/>
<xsl:param name="htmlhelp.hhc.folders.instead.books" select="1"/>
-<xsl:param name="htmlhelp.hhc" select="'toc.hhc'"/>
-<xsl:param name="htmlhelp.hhc.section.depth" select="5"/>
+<xsl:param name="htmlhelp.hhc">toc.hhc</xsl:param>
+<xsl:param name="htmlhelp.hhc.section.depth">5</xsl:param>
<xsl:param name="htmlhelp.hhc.show.root" select="1"/>
<xsl:param name="htmlhelp.hhc.width"/>
-<xsl:param name="htmlhelp.hhk" select="'index.hhk'"/>
-<xsl:param name="htmlhelp.hhp" select="'htmlhelp.hhp'"/>
+<xsl:param name="htmlhelp.hhk">index.hhk</xsl:param>
+<xsl:param name="htmlhelp.hhp">htmlhelp.hhp</xsl:param>
<xsl:param name="htmlhelp.hhp.tail"/>
-<xsl:param name="htmlhelp.hhp.window" select="'Main'"/>
+<xsl:param name="htmlhelp.hhp.window">Main</xsl:param>
<xsl:param name="htmlhelp.hhp.windows"/>
-<xsl:param name="htmlhelp.map.file" select="'context.h'"/>
+<xsl:param name="htmlhelp.map.file">context.h</xsl:param>
<xsl:param name="htmlhelp.only" select="0"/>
<xsl:param name="htmlhelp.remember.window.position" select="0"/>
<xsl:param name="htmlhelp.show.advanced.search" select="0"/>
<xsl:param name="htmlhelp.show.favorities" select="0"/>
<xsl:param name="htmlhelp.show.menu" select="0"/>
<xsl:param name="htmlhelp.show.toolbar.text" select="1"/>
-<xsl:param name="htmlhelp.title" select="''"/>
+<xsl:param name="htmlhelp.title"/>
<xsl:param name="htmlhelp.use.hhk" select="0"/>
<xsl:param name="htmlhelp.window.geometry"/>
<xsl:param name="img.src.path"/>
<xsl:param name="id.warnings" select="0"/>
-<xsl:param name="index.method" select="'basic'"/>
+<xsl:param name="index.method">basic</xsl:param>
<xsl:param name="index.on.role" select="0"/>
<xsl:param name="index.on.type" select="0"/>
-<xsl:param name="index.number.separator" select="''"/>
-<xsl:param name="index.term.separator" select="''"/>
-<xsl:param name="index.range.separator" select="''"/>
+<xsl:param name="index.number.separator"/>
+<xsl:param name="index.term.separator"/>
+<xsl:param name="index.range.separator"/>
<xsl:param name="index.prefer.titleabbrev" select="0"/>
<xsl:param name="ignore.image.scaling" select="0"/>
-<xsl:param name="inherit.keywords" select="'1'"/>
+<xsl:param name="inherit.keywords" select="1"/>
<xsl:param name="insert.xref.page.number">no</xsl:param>
+<xsl:param name="javahelp.encoding">iso-8859-1</xsl:param>
<xsl:param name="keep.relative.image.uris" select="1"/>
-<xsl:param name="l10n.gentext.default.language" select="'en'"/>
-<xsl:param name="l10n.gentext.language" select="''"/>
+<xsl:param name="l10n.gentext.default.language">en</xsl:param>
+<xsl:param name="l10n.gentext.language"/>
<xsl:param name="l10n.gentext.use.xref.language" select="0"/>
<xsl:param name="l10n.lang.value.rfc.compliant" select="1"/>
-<xsl:param name="label.from.part" select="'0'"/>
-<xsl:param name="linenumbering.everyNth" select="'5'"/>
-<xsl:param name="linenumbering.extension" select="'1'"/>
-<xsl:param name="linenumbering.separator" select="' '"/>
-<xsl:param name="linenumbering.width" select="'3'"/>
+<xsl:param name="label.from.part" select="0"/>
+<xsl:param name="linenumbering.everyNth">5</xsl:param>
+<xsl:param name="linenumbering.extension" select="1"/>
+<xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param>
+<xsl:param name="linenumbering.width">3</xsl:param>
<xsl:param name="link.mailto.url"/>
<xsl:param name="make.graphic.viewport" select="1"/>
<xsl:param name="make.single.year.ranges" select="0"/>
<xsl:param name="make.valid.html" select="1"/>
<xsl:param name="make.year.ranges" select="0"/>
-<xsl:param name="manifest" select="'HTML.manifest'"/>
+ <xsl:param name="manifest">HTML.manifest</xsl:param>
+
<xsl:param name="manifest.in.base.dir" select="0"/>
-<xsl:param name="manual.toc" select="''"/>
+<xsl:param name="manual.toc"/>
<xsl:param name="menuchoice.menu.separator"> &#8594; </xsl:param>
-<xsl:param name="menuchoice.separator" select="'+'"/>
-<xsl:param name="navig.graphics.extension" select="'.gif'"/>
+<xsl:param name="menuchoice.separator">+</xsl:param>
+<xsl:param name="navig.graphics.extension">.gif</xsl:param>
<xsl:param name="navig.graphics" select="0"/>
<xsl:param name="navig.graphics.path">images/</xsl:param>
<xsl:param name="navig.showtitles">1</xsl:param>
<xsl:param name="nominal.image.depth" select="4 * $pixels.per.inch"/>
<xsl:param name="nominal.image.width" select="6 * $pixels.per.inch"/>
-<xsl:param name="nominal.table.width" select="'6in'"/>
-<xsl:param name="olink.base.uri" select="''"/>
+<xsl:param name="nominal.table.width">6in</xsl:param>
+<xsl:param name="olink.base.uri"/>
<xsl:param name="olink.debug" select="0"/>
<xsl:attribute-set name="olink.properties">
<xsl:attribute name="show-destination">replace</xsl:attribute>
@@ -298,42 +305,42 @@ set toc,title
<xsl:param name="insert.olink.page.number">no</xsl:param>
<xsl:param name="insert.olink.pdf.frag" select="0"/>
<xsl:param name="prefer.internal.olink" select="0"/>
-<xsl:param name="olink.lang.fallback.sequence" select="''"/>
-<xsl:param name="olink.doctitle" select="'no'"/>
-<xsl:param name="olink.fragid" select="'fragid='"/>
-<xsl:param name="olink.outline.ext" select="'.olink'"/>
-<xsl:param name="olink.pubid" select="'pubid='"/>
-<xsl:param name="olink.resolver" select="'/cgi-bin/olink'"/>
-<xsl:param name="olink.sysid" select="'sysid='"/>
-<xsl:param name="abstract.notitle.enabled">0</xsl:param>
+<xsl:param name="olink.lang.fallback.sequence"/>
+<xsl:param name="olink.doctitle">no</xsl:param>
+<xsl:param name="olink.fragid">fragid=</xsl:param>
+<xsl:param name="olink.outline.ext">.olink</xsl:param>
+<xsl:param name="olink.pubid">pubid</xsl:param>
+ <xsl:param name="olink.resolver">/cgi-bin/olink</xsl:param>
+<xsl:param name="olink.sysid">sysid</xsl:param>
+<xsl:param name="abstract.notitle.enabled" select="0"/>
<xsl:param name="othercredit.like.author.enabled">0</xsl:param>
<xsl:param name="para.propagates.style" select="1"/>
-<xsl:param name="part.autolabel" select="'I'"/>
+<xsl:param name="part.autolabel">I</xsl:param>
<xsl:param name="phrase.propagates.style" select="1"/>
-<xsl:param name="pixels.per.inch" select="90"/>
-<xsl:param name="points.per.em" select="10"/>
+<xsl:param name="pixels.per.inch">90</xsl:param>
+<xsl:param name="points.per.em">10</xsl:param>
<xsl:param name="preface.autolabel" select="0"/>
<xsl:param name="preferred.mediaobject.role"/>
<xsl:param name="process.empty.source.toc" select="0"/>
<xsl:param name="process.source.toc" select="0"/>
-<xsl:param name="profile.arch" select="''"/>
-<xsl:param name="profile.audience" select="''"/>
-<xsl:param name="profile.attribute" select="''"/>
-<xsl:param name="profile.condition" select="''"/>
-<xsl:param name="profile.conformance" select="''"/>
-<xsl:param name="profile.lang" select="''"/>
-<xsl:param name="profile.os" select="''"/>
-<xsl:param name="profile.revision" select="''"/>
-<xsl:param name="profile.revisionflag" select="''"/>
-<xsl:param name="profile.role" select="''"/>
-<xsl:param name="profile.security" select="''"/>
-<xsl:param name="profile.separator" select="';'"/>
-<xsl:param name="profile.status" select="''"/>
-<xsl:param name="profile.userlevel" select="''"/>
-<xsl:param name="profile.value" select="''"/>
-<xsl:param name="profile.vendor" select="''"/>
-<xsl:param name="profile.wordsize" select="''"/>
-<xsl:param name="punct.honorific" select="'.'"/>
+<xsl:param name="profile.arch"/>
+<xsl:param name="profile.audience"/>
+<xsl:param name="profile.attribute"/>
+<xsl:param name="profile.condition"/>
+<xsl:param name="profile.conformance"/>
+<xsl:param name="profile.lang"/>
+<xsl:param name="profile.os"/>
+<xsl:param name="profile.revision"/>
+<xsl:param name="profile.revisionflag"/>
+<xsl:param name="profile.role"/>
+<xsl:param name="profile.security"/>
+<xsl:param name="profile.separator">;</xsl:param>
+<xsl:param name="profile.status"/>
+<xsl:param name="profile.userlevel"/>
+<xsl:param name="profile.value"/>
+<xsl:param name="profile.vendor"/>
+<xsl:param name="profile.wordsize"/>
+<xsl:param name="punct.honorific">.</xsl:param>
<xsl:param name="qanda.defaultlabel">number</xsl:param>
<xsl:param name="qanda.inherit.numeration" select="1"/>
<xsl:param name="qanda.in.toc" select="0"/>
@@ -341,16 +348,16 @@ set toc,title
<xsl:param name="qandadiv.autolabel" select="1"/>
<xsl:param name="refentry.generate.name" select="1"/>
<xsl:param name="refentry.generate.title" select="0"/>
-<xsl:param name="refentry.separator" select="'1'"/>
+<xsl:param name="refentry.separator" select="1"/>
<xsl:param name="refentry.xref.manvolnum" select="1"/>
-<xsl:param name="reference.autolabel" select="'I'"/>
+ <xsl:param name="reference.autolabel">I</xsl:param>
<xsl:param name="refclass.suppress" select="0"/>
-<xsl:param name="root.filename" select="'index'"/>
-<xsl:param name="rootid" select="''"/>
-<xsl:param name="runinhead.default.title.end.punct" select="'.'"/>
-<xsl:param name="runinhead.title.end.punct" select="'.!?:'"/>
+<xsl:param name="root.filename">index</xsl:param>
+<xsl:param name="rootid"/>
+<xsl:param name="runinhead.default.title.end.punct">.</xsl:param>
+<xsl:param name="runinhead.title.end.punct">.!?:</xsl:param>
<xsl:param name="section.autolabel" select="0"/>
-<xsl:param name="section.autolabel.max.depth" select="8"/>
+<xsl:param name="section.autolabel.max.depth">8</xsl:param>
<xsl:param name="section.label.includes.component.label" select="0"/>
<xsl:param name="segmentedlist.as.table" select="0"/>
<xsl:param name="shade.verbatim" select="0"/>
@@ -359,39 +366,39 @@ set toc,title
<xsl:attribute name="bgcolor">#E0E0E0</xsl:attribute>
</xsl:attribute-set>
-<xsl:param name="show.comments">1</xsl:param>
-<xsl:param name="show.revisionflag">0</xsl:param>
+<xsl:param name="show.comments" select="1"/>
+<xsl:param name="show.revisionflag" select="0"/>
<xsl:param name="simplesect.in.toc" select="0"/>
-<xsl:param name="spacing.paras" select="'0'"/>
+<xsl:param name="spacing.paras" select="0"/>
<xsl:param name="suppress.footer.navigation">0</xsl:param>
-<xsl:param name="suppress.header.navigation">0</xsl:param>
-<xsl:param name="suppress.navigation">0</xsl:param>
+<xsl:param name="suppress.header.navigation" select="0"/>
+<xsl:param name="suppress.navigation" select="0"/>
<xsl:param name="table.borders.with.css" select="0"/>
-<xsl:param name="table.cell.border.color" select="''"/>
+<xsl:param name="table.cell.border.color"/>
-<xsl:param name="table.cell.border.style" select="'solid'"/>
-<xsl:param name="table.cell.border.thickness" select="'0.5pt'"/>
-<xsl:param name="table.footnote.number.format" select="'a'"/>
-<xsl:param name="table.footnote.number.symbols" select="''"/>
-<xsl:param name="table.frame.border.color" select="''"/>
+<xsl:param name="table.cell.border.style">solid</xsl:param>
+<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param>
+<xsl:param name="table.footnote.number.format">a</xsl:param>
+<xsl:param name="table.footnote.number.symbols"/>
+<xsl:param name="table.frame.border.color"/>
-<xsl:param name="table.frame.border.style" select="'solid'"/>
-<xsl:param name="table.frame.border.thickness" select="'0.5pt'"/>
-<xsl:param name="tablecolumns.extension" select="'1'"/>
-<xsl:param name="target.database.document" select="''"/>
-<xsl:param name="targets.filename" select="'target.db'"/>
-<xsl:param name="textdata.default.encoding" select="''"/>
-<xsl:param name="tex.math.delims" select="'1'"/>
-<xsl:param name="tex.math.file" select="'tex-math-equations.tex'"/>
-<xsl:param name="tex.math.in.alt" select="''"/>
-<xsl:param name="textinsert.extension" select="'1'"/>
+<xsl:param name="table.frame.border.style">solid</xsl:param>
+<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param>
+<xsl:param name="tablecolumns.extension" select="1"/>
+ <xsl:param name="target.database.document">olinkdb.xml</xsl:param>
+<xsl:param name="targets.filename">target.db</xsl:param>
+<xsl:param name="textdata.default.encoding"/>
+<xsl:param name="tex.math.delims" select="1"/>
+<xsl:param name="tex.math.file">tex-math-equations.tex</xsl:param>
+<xsl:param name="tex.math.in.alt"/>
+ <xsl:param name="textinsert.extension" select="1"/>
<xsl:param name="toc.list.type">dl</xsl:param>
<xsl:param name="toc.section.depth">2</xsl:param>
<xsl:param name="toc.max.depth">8</xsl:param>
-<xsl:param name="ulink.target" select="'_top'"/>
+<xsl:param name="ulink.target">_top</xsl:param>
<xsl:param name="use.embed.for.svg" select="0"/>
-<xsl:param name="use.extensions" select="'0'"/>
-<xsl:param name="use.id.as.filename" select="'0'"/>
+<xsl:param name="use.extensions" select="0"/>
+<xsl:param name="use.id.as.filename" select="0"/>
<xsl:param name="use.local.olink.style" select="0"/>
<xsl:param name="use.role.as.xrefstyle" select="1"/>
<xsl:param name="use.role.for.mediaobject" select="1"/>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/pi.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/pi.xsl
index 8b8eb7b17..5bd4d886d 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/pi.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/pi.xsl
@@ -39,7 +39,7 @@
<doc:pi xmlns="" name="dbhtml_background-color">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Sets background color for an image</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml background-color</tag> PI before or
+ <para>Use the <tag class="xmlpi">dbhtml background-color</tag> PI before or
after an image (<tag>graphic</tag>, <tag>inlinegraphic</tag>,
<tag>imagedata</tag>, or <tag>videodata</tag> element) as a
sibling to the element, to set a background color for the
@@ -72,7 +72,7 @@
<doc:pi xmlns="" name="dbhtml_bgcolor">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Sets background color on a table row or table cell</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml bgcolor</tag> PI as child of a table row
+ <para>Use the <tag class="xmlpi">dbhtml bgcolor</tag> PI as child of a table row
or cell to set a background color for that table row or cell.</para>
</refdescription>
<refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml">
@@ -102,7 +102,7 @@
<doc:pi xmlns="" name="dbhtml_cellpadding">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies cellpadding in table or qandaset output</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml cellpadding</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml cellpadding</tag> PI as a child of a
<tag>table</tag> or <tag>qandaset</tag> to specify the value
for the HTML <literal>cellpadding</literal> attribute in the
output HTML table.</para>
@@ -138,7 +138,7 @@
<doc:pi xmlns="" name="dbhtml_cellspacing">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies cellspacing in table or qandaset output</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml cellspacing</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml cellspacing</tag> PI as a child of a
<tag>table</tag> or <tag>qandaset</tag> to specify the value
for the HTML <literal>cellspacing</literal> attribute in the
output HTML table.</para>
@@ -174,7 +174,7 @@
<doc:pi xmlns="" name="dbhtml_class">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Set value of the class attribute for a table row</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml class</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml class</tag> PI as a child of a
<tag>row</tag> to specify a <literal>class</literal>
attribute and value in the HTML output for that row.</para>
</refdescription>
@@ -205,7 +205,7 @@
<doc:pi xmlns="" name="dbhtml_dir">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies a directory name in which to write files</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>When chunking output, use the <tag>dbhtml dir</tag> PI
+ <para>When chunking output, use the <tag class="xmlpi">dbhtml dir</tag> PI
as a child of a chunk source to cause the output of that
chunk to be written to the specified directory; also, use it
as a child of a <tag>mediaobject</tag> to specify a
@@ -242,7 +242,7 @@
<doc:pi xmlns="" name="dbhtml_filename">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies a filename for a chunk</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>When chunking output, use the <tag>dbhtml filename</tag>
+ <para>When chunking output, use the <tag class="xmlpi">dbhtml filename</tag>
PI as a child of a chunk source to specify a filename for
the output file for that chunk.</para>
</refdescription>
@@ -276,7 +276,7 @@
<doc:pi xmlns="" name="dbhtml_funcsynopsis-style">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies presentation style for a funcsynopsis</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml funcsynopsis-style</tag> PI as a child of
+ <para>Use the <tag class="xmlpi">dbhtml funcsynopsis-style</tag> PI as a child of
a <tag>funcprototype</tag> or anywhere within a funcprototype
control the presentation style for the <tag>funcsynopsis</tag>
in output.</para>
@@ -313,7 +313,7 @@
<doc:pi xmlns="" name="dbhtml_img.src.path">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies a path to the location of an image file</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml img.src.path</tag> PI before or
+ <para>Use the <tag class="xmlpi">dbhtml img.src.path</tag> PI before or
after an image (<tag>graphic</tag>,
<tag>inlinegraphic</tag>, <tag>imagedata</tag>, or
<tag>videodata</tag> element) as a sibling to the element,
@@ -352,7 +352,7 @@
<doc:pi xmlns="" name="dbhtml_label-width">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the label width for a qandaset</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml label-width</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml label-width</tag> PI as a child of a
<tag>qandaset</tag> to specify the width of labels.</para>
</refdescription>
<refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml">
@@ -382,7 +382,7 @@
<doc:pi xmlns="" name="dbhtml_linenumbering.everyNth">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies interval for lines numbers in verbatims</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml linenumbering.everyNth</tag> PI as a child
+ <para>Use the <tag class="xmlpi">dbhtml linenumbering.everyNth</tag> PI as a child
of a &#8220;verbatim&#8221; element &#8211; <tag>programlisting</tag>,
<tag>screen</tag>, <tag>synopsis</tag> &#8212; to specify
the interval at which lines are numbered.</para>
@@ -418,7 +418,7 @@
<doc:pi xmlns="" name="dbhtml_linenumbering.separator">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies separator text for line numbers in verbatims</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml linenumbering.separator</tag> PI as a child
+ <para>Use the <tag class="xmlpi">dbhtml linenumbering.separator</tag> PI as a child
of a &#8220;verbatim&#8221; element &#8211; <tag>programlisting</tag>,
<tag>screen</tag>, <tag>synopsis</tag> &#8212; to specify
the separator text output between the line numbers and content.</para>
@@ -453,7 +453,7 @@
<doc:pi xmlns="" name="dbhtml_linenumbering.width">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies width for line numbers in verbatims</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml linenumbering.width</tag> PI as a child
+ <para>Use the <tag class="xmlpi">dbhtml linenumbering.width</tag> PI as a child
of a &#8220;verbatim&#8221; element &#8211; <tag>programlisting</tag>,
<tag>screen</tag>, <tag>synopsis</tag> &#8212; to specify
the width set aside for line numbers.</para>
@@ -489,7 +489,7 @@
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies presentation style for a variablelist or
segmentedlist</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml list-presentation</tag> PI as a child of
+ <para>Use the <tag class="xmlpi">dbhtml list-presentation</tag> PI as a child of
a <tag>variablelist</tag> or <tag>segmentedlist</tag> to
control the presentation style for the list (to cause it, for
example, to be displayed as a table).</para>
@@ -536,7 +536,7 @@
<doc:pi xmlns="" name="dbhtml_list-width">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the width of a variablelist or simplelist</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml list-width</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml list-width</tag> PI as a child of a
<tag>variablelist</tag> or a <tag>simplelist</tag> presented
as a table, to specify the output width.</para>
</refdescription>
@@ -567,7 +567,7 @@
<doc:pi xmlns="" name="dbhtml_row-height">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the height for a table row</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml row-height</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml row-height</tag> PI as a child of a
<tag>row</tag> to specify the height of the row.</para>
</refdescription>
<refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml">
@@ -633,7 +633,7 @@
<doc:pi xmlns="" name="dbhtml_table-summary">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies summary for table, variablelist, segmentedlist, or qandaset output</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml table-summary</tag> PI as a child of
+ <para>Use the <tag class="xmlpi">dbhtml table-summary</tag> PI as a child of
a <tag>table</tag>, <tag>variablelist</tag>,
<tag>segmentedlist</tag>, or <tag>qandaset</tag> to specify
the text for the HTML <literal>summary</literal> attribute
@@ -667,7 +667,7 @@
<doc:pi xmlns="" name="dbhtml_table-width">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the width for a table</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml table-width</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml table-width</tag> PI as a child of a
<tag>table</tag> to specify the width of the table in
output.</para>
</refdescription>
@@ -701,7 +701,7 @@
<doc:pi xmlns="" name="dbhtml_term-presentation">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Sets character formatting for terms in a variablelist</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml term-presentation</tag> PI as a child
+ <para>Use the <tag class="xmlpi">dbhtml term-presentation</tag> PI as a child
of a <tag>variablelist</tag> to set character formatting for
the <tag>term</tag> output of the list.</para>
</refdescription>
@@ -742,7 +742,7 @@
<doc:pi xmlns="" name="dbhtml_term-separator">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies separator text among terms in a varlistentry</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml term-separator</tag> PI as a child
+ <para>Use the <tag class="xmlpi">dbhtml term-separator</tag> PI as a child
of a <tag>variablelist</tag> to specify the separator text
among <tag>term</tag> instances.</para>
</refdescription>
@@ -776,7 +776,7 @@
<doc:pi xmlns="" name="dbhtml_term-width">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the term width for a variablelist</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml term-width</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml term-width</tag> PI as a child of a
<tag>variablelist</tag> to specify the width for
<tag>term</tag> output.</para>
</refdescription>
@@ -805,9 +805,9 @@
</xsl:template>
<doc:pi xmlns="" name="dbhtml_toc">
- <refpurpose xmlns="http://www.w3.org/1999/xhtml">Species whether a TOC should be generated for a qandaset</refpurpose>
+ <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies whether a TOC should be generated for a qandaset</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml toc</tag> PI as a child of a
+ <para>Use the <tag class="xmlpi">dbhtml toc</tag> PI as a child of a
<tag>qandaset</tag> to specify whether a table of contents
(TOC) is generated for the <tag>qandaset</tag>.</para>
</refdescription>
@@ -845,12 +845,12 @@
<doc:pi xmlns="" name="dbcmdlist">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Generates a hyperlinked list of commands</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbcmdlist</tag> PI as the child of a
- <tag>refsynopsisdiv</tag> containing multiple
+ <para>Use the <tag class="xmlpi">dbcmdlist</tag> PI as the child of any
+ element (for example, <tag>refsynopsisdiv</tag>) containing multiple
<tag>cmdsynopsis</tag> instances; a hyperlinked navigational
- &#8220;command list&#8221; will be generated at the top of the
- <tag>refsynopsisdiv</tag>, enabling users to quickly jump
- to to each command synopsis.</para>
+ &#8220;command list&#8221; will be generated at the top of output for that
+ element, enabling users to quickly jump
+ to each command synopsis.</para>
</refdescription>
<refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml">
<synopsis><tag class="xmlpi">dbcmdlist</tag></synopsis>
@@ -875,11 +875,11 @@
<doc:pi xmlns="" name="dbfunclist">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Generates a hyperlinked list of functions</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbfunclist</tag> PI as the child of a
- <tag>refsynopsisdiv</tag> containing multiple
+ <para>Use the <tag class="xmlpi">dbfunclist</tag> PI as the child of any
+ element (for example, <tag>refsynopsisdiv</tag>) containing multiple
<tag>funcsynopsis</tag> instances; a hyperlinked
navigational &#8220;function list&#8221; will be generated at the top of
- the <tag>refsynopsisdiv</tag>, enabling users to quickly
+ output for that element, enabling users to quickly
jump to to each function synopsis.</para>
</refdescription>
<refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml">
@@ -905,7 +905,7 @@
<doc:pi xmlns="" name="dbhtml-include_href">
<refpurpose xmlns="http://www.w3.org/1999/xhtml">Copies an external well-formed HTML/XML file into current doc</refpurpose>
<refdescription xmlns="http://www.w3.org/1999/xhtml">
- <para>Use the <tag>dbhtml-include href</tag> PI anywhere in a
+ <para>Use the <tag class="xmlpi">dbhtml-include href</tag> PI anywhere in a
document to cause the contents of the file referenced by the
<code>href</code> pseudo-attribute to be copied/inserted &#8220;as
is&#8221; into your HTML output at the point in document order
@@ -932,7 +932,7 @@
</note>
</refdescription>
<refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml">
- <synopsis><tag class="xmlpi">dbhtml href="<replaceable>URI</replaceable>"</tag></synopsis>
+ <synopsis><tag class="xmlpi">dbhtml-include href="<replaceable>URI</replaceable>"</tag></synopsis>
</refsynopsisdiv>
<refparameter xmlns="http://www.w3.org/1999/xhtml">
<variablelist>
@@ -1149,4 +1149,34 @@
</xsl:choose>
</xsl:template>
+<!-- There are two templates matching this PI in htmlhelp-common.xsl -->
+<doc:pi xmlns="" name="dbhh">
+ <refpurpose xmlns="http://www.w3.org/1999/xhtml">Sets topic name and topic id for context-sensitive HTML Help</refpurpose>
+ <refdescription xmlns="http://www.w3.org/1999/xhtml">
+ <para>Use the <tag class="xmlpi">dbhh</tag> PI as a child of components
+ that should be used as targets for context-sensitive help requests.</para>
+ </refdescription>
+ <refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml">
+ <synopsis><tag class="xmlpi">dbhh topicname="<replaceable>name</replaceable>" topicid="<replaceable>id</replaceable>"</tag></synopsis>
+ </refsynopsisdiv>
+ <refparameter xmlns="http://www.w3.org/1999/xhtml">
+ <variablelist>
+ <varlistentry><term>topicname="<replaceable>name</replaceable>"</term>
+ <listitem>
+ <para>Specifies a unique string constant that identifies a help topic</para>
+ </listitem>
+ </varlistentry>
+ <varlistentry><term>topicid="<replaceable>id</replaceable>"</term>
+ <listitem>
+ <para>Specifies a unique integer value for the <literal>topicname</literal> string</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+ </refparameter>
+ <refsee xmlns="http://www.w3.org/1999/xhtml" role="tcg">
+ <para><link role="tcg" xlink:href="HtmlHelp.html#HHContextHelp">Context-sensitive help</link></para>
+ </refsee>
+</doc:pi>
+
+
</xsl:stylesheet>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-docbook.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-docbook.xsl
index 2469b271d..102b387d3 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-docbook.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-docbook.xsl
@@ -95,7 +95,7 @@
<xsl:text>, but no template matches.</xsl:text>
</xsl:message>
- <span xmlns:saxon="http://icl.com/saxon" class="ERROR">
+ <span style="color: red">
<xsl:text>&lt;</xsl:text>
<xsl:value-of select="name(.)"/>
<xsl:text>&gt;</xsl:text>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl
index 4aa2c2c06..3e115ecf6 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl
@@ -23,9 +23,17 @@
<div>
<xsl:apply-templates select="." mode="class.attribute"/>
<p>
- <xsl:call-template name="anchor">
- <xsl:with-param name="conditional" select="0"/>
- </xsl:call-template>
+ <xsl:if test="..//processing-instruction('dbcmdlist')">
+ <!-- * Placing a dbcmdlist PI as a child of a particular element -->
+ <!-- * creates a hyperlinked list of all cmdsynopsis instances -->
+ <!-- * that are descendants of that element; so for any -->
+ <!-- * cmdsynopsis that is a descendant of an element containing -->
+ <!-- * a dbcmdlist PI, we need to output an a@id instance so that -->
+ <!-- * we will have something to link to -->
+ <xsl:call-template name="anchor">
+ <xsl:with-param name="conditional" select="0"/>
+ </xsl:call-template>
+ </xsl:if>
<xsl:apply-templates/>
</p>
</div>
@@ -155,6 +163,17 @@
</xsl:template>
<xsl:template match="funcsynopsis">
+ <xsl:if test="..//processing-instruction('dbfunclist')">
+ <!-- * Placing a dbfunclist PI as a child of a particular element -->
+ <!-- * creates a hyperlinked list of all funcsynopsis instances that -->
+ <!-- * are descendants of that element; so for any funcsynopsis that is -->
+ <!-- * a descendant of an element containing a dbfunclist PI, we need -->
+ <!-- * to output an a@id instance so that we will have something to -->
+ <!-- * link to -->
+ <xsl:call-template name="anchor">
+ <xsl:with-param name="conditional" select="0"/>
+ </xsl:call-template>
+ </xsl:if>
<xsl:call-template name="informal.object"/>
</xsl:template>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
index 908d7ed2a..eb986496a 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl
@@ -118,7 +118,7 @@
<div>
<xsl:apply-templates select="." mode="class.attribute"/>
<xsl:call-template name="anchor"/>
- <xsl:if test="not ($abstract.notitle.enabled = 0)">
+ <xsl:if test="$abstract.notitle.enabled = 0">
<xsl:call-template name="formal.object.heading">
<xsl:with-param name="title">
<xsl:apply-templates select="." mode="title.markup"/>
@@ -126,6 +126,7 @@
</xsl:call-template>
</xsl:if>
<xsl:apply-templates mode="titlepage.mode"/>
+ <xsl:call-template name="process.footnotes"/>
</div>
</xsl:template>
@@ -515,9 +516,7 @@
<xsl:variable name="filename">
<xsl:call-template name="make-relative-filename">
<xsl:with-param name="base.dir" select="$base.dir"/>
- <xsl:with-param name="base.name">
- <xsl:apply-templates mode="chunk-filename" select="."/>
- </xsl:with-param>
+ <xsl:with-param name="base.name" select="concat($id,$html.ext)"/>
</xsl:call-template>
</xsl:variable>
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl
index 3a9dcd8f8..f97991cd3 100644
--- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl
+++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl
@@ -854,6 +854,7 @@
<xsl:template match="link" name="link">
<xsl:param name="linkend" select="@linkend"/>
<xsl:param name="a.target"/>
+ <xsl:param name="xhref" select="@xlink:href"/>
<xsl:variable name="content">
<xsl:call-template name="anchor"/>
@@ -900,6 +901,7 @@
<xsl:with-param name="linkend" select="$linkend"/>
<xsl:with-param name="content" select="$content"/>
<xsl:with-param name="a.target" select="$a.target"/>
+ <xsl:with-param name="xhref" select="$xhref"/>
</xsl:call-template>
</xsl:template>