summaryrefslogtreecommitdiff
path: root/xhtml-1_1/inline.xsl
diff options
context:
space:
mode:
Diffstat (limited to 'xhtml-1_1/inline.xsl')
-rw-r--r--xhtml-1_1/inline.xsl235
1 files changed, 115 insertions, 120 deletions
diff --git a/xhtml-1_1/inline.xsl b/xhtml-1_1/inline.xsl
index dd822e4..3f1fe15 100644
--- a/xhtml-1_1/inline.xsl
+++ b/xhtml-1_1/inline.xsl
@@ -1,20 +1,15 @@
-<?xml version="1.0" encoding="ASCII"?>
-<!--This file was created automatically by html2xhtml-->
-<!--from the HTML stylesheets.-->
-<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xlink suwl" version="1.0">
+<?xml version="1.0" encoding="ASCII"?><!--This file was created automatically by html2xhtml--><!--from the HTML stylesheets.--><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:d="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:suwl="http://nwalsh.com/xslt/ext/com.nwalsh.saxon.UnwrapLinks" xmlns="http://www.w3.org/1999/xhtml" exclude-result-prefixes="xlink suwl d" version="1.0">
<!-- ********************************************************************
- $Id: inline.xsl 9963 2015-05-20 18:37:42Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
- See ../README or http://docbook.sf.net/release/xsl/current/ for
+ See ../README or http://cdn.docbook.org/release/xsl/current/ for
copyright and other information.
******************************************************************** -->
-<xsl:key name="glossentries" match="glossentry" use="normalize-space(glossterm)"/>
-<xsl:key name="glossentries" match="glossentry" use="normalize-space(glossterm/@baseform)"/>
+<xsl:key name="glossentries" match="d:glossentry" use="normalize-space(d:glossterm)"/>
+<xsl:key name="glossentries" match="d:glossentry" use="normalize-space(d:glossterm/@baseform)"/>
<xsl:template name="simple.xlink">
<xsl:param name="node" select="."/>
@@ -427,7 +422,7 @@
<!-- ==================================================================== -->
<!-- some special cases -->
-<xsl:template match="author">
+<xsl:template match="d:author">
<xsl:param name="content">
<xsl:call-template name="person.name"/>
</xsl:param>
@@ -447,7 +442,7 @@
</span>
</xsl:template>
-<xsl:template match="editor">
+<xsl:template match="d:editor">
<xsl:param name="content">
<xsl:call-template name="person.name"/>
</xsl:param>
@@ -467,7 +462,7 @@
</span>
</xsl:template>
-<xsl:template match="othercredit">
+<xsl:template match="d:othercredit">
<xsl:param name="content">
<xsl:call-template name="person.name"/>
</xsl:param>
@@ -487,88 +482,88 @@
</span>
</xsl:template>
-<xsl:template match="authorinitials">
+<xsl:template match="d:authorinitials">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
<!-- ==================================================================== -->
-<xsl:template match="accel">
+<xsl:template match="d:accel">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="action">
+<xsl:template match="d:action">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="application">
+<xsl:template match="d:application">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="classname">
+<xsl:template match="d:classname">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="exceptionname">
+<xsl:template match="d:exceptionname">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="interfacename">
+<xsl:template match="d:interfacename">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="methodname">
+<xsl:template match="d:methodname">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="command">
+<xsl:template match="d:command">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
-<xsl:template match="computeroutput">
+<xsl:template match="d:computeroutput">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="constant">
+<xsl:template match="d:constant">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="database">
+<xsl:template match="d:database">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="date">
+<xsl:template match="d:date">
<!-- should this support locale-specific formatting? how? -->
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="errorcode">
+<xsl:template match="d:errorcode">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="errorname">
+<xsl:template match="d:errorname">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="errortype">
+<xsl:template match="d:errortype">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="errortext">
+<xsl:template match="d:errortext">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="envar">
+<xsl:template match="d:envar">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="filename">
+<xsl:template match="d:filename">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="function">
+<xsl:template match="d:function">
<xsl:choose>
- <xsl:when test="$function.parens != '0' and (parameter or function or replaceable)">
+ <xsl:when test="$function.parens != '0' and (d:parameter or d:function or d:replaceable)">
<xsl:variable name="nodes" select="text()|*"/>
<xsl:call-template name="inline.monoseq">
<xsl:with-param name="content">
@@ -589,57 +584,57 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="function/parameter" priority="2">
+<xsl:template match="d:function/d:parameter" priority="2">
<xsl:call-template name="inline.italicmonoseq"/>
<xsl:if test="$function.parens != 0 and following-sibling::*">
<xsl:text>, </xsl:text>
</xsl:if>
</xsl:template>
-<xsl:template match="function/replaceable" priority="2">
+<xsl:template match="d:function/d:replaceable" priority="2">
<xsl:call-template name="inline.italicmonoseq"/>
<xsl:if test="$function.parens != 0 and following-sibling::*">
<xsl:text>, </xsl:text>
</xsl:if>
</xsl:template>
-<xsl:template match="guibutton">
+<xsl:template match="d:guibutton">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="guiicon">
+<xsl:template match="d:guiicon">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="guilabel">
+<xsl:template match="d:guilabel">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="guimenu">
+<xsl:template match="d:guimenu">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="guimenuitem">
+<xsl:template match="d:guimenuitem">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="guisubmenu">
+<xsl:template match="d:guisubmenu">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="hardware">
+<xsl:template match="d:hardware">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="interface">
+<xsl:template match="d:interface">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="interfacedefinition">
+<xsl:template match="d:interfacedefinition">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="keycap">
+<xsl:template match="d:keycap">
<xsl:choose>
<xsl:when test="@function and normalize-space(.) = ''">
<xsl:call-template name="inline.boldseq">
@@ -657,103 +652,103 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="keycode">
+<xsl:template match="d:keycode">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="keysym">
+<xsl:template match="d:keysym">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="literal">
+<xsl:template match="d:literal">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="code">
+<xsl:template match="d:code">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="medialabel">
+<xsl:template match="d:medialabel">
<xsl:call-template name="inline.italicseq"/>
</xsl:template>
-<xsl:template match="shortcut">
+<xsl:template match="d:shortcut">
<xsl:call-template name="inline.boldseq"/>
</xsl:template>
-<xsl:template match="mousebutton">
+<xsl:template match="d:mousebutton">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="option">
+<xsl:template match="d:option">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="package">
+<xsl:template match="d:package">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="parameter">
+<xsl:template match="d:parameter">
<xsl:call-template name="inline.italicmonoseq"/>
</xsl:template>
-<xsl:template match="property">
+<xsl:template match="d:property">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="prompt">
+<xsl:template match="d:prompt">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="replaceable" priority="1">
+<xsl:template match="d:replaceable" priority="1">
<xsl:call-template name="inline.italicmonoseq"/>
</xsl:template>
-<xsl:template match="returnvalue">
+<xsl:template match="d:returnvalue">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="structfield">
+<xsl:template match="d:structfield">
<xsl:call-template name="inline.italicmonoseq"/>
</xsl:template>
-<xsl:template match="structname">
+<xsl:template match="d:structname">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="symbol">
+<xsl:template match="d:symbol">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="systemitem">
+<xsl:template match="d:systemitem">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="token">
+<xsl:template match="d:token">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="type">
+<xsl:template match="d:type">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="userinput">
+<xsl:template match="d:userinput">
<xsl:call-template name="inline.boldmonoseq"/>
</xsl:template>
-<xsl:template match="abbrev">
+<xsl:template match="d:abbrev">
<xsl:call-template name="inline.charseq">
<xsl:with-param name="wrapper-name">abbr</xsl:with-param>
</xsl:call-template>
</xsl:template>
-<xsl:template match="acronym">
+<xsl:template match="d:acronym">
<xsl:call-template name="inline.charseq">
<xsl:with-param name="wrapper-name">acronym</xsl:with-param>
</xsl:call-template>
</xsl:template>
-<xsl:template match="citerefentry">
+<xsl:template match="d:citerefentry">
<xsl:choose>
<xsl:when test="$citerefentry.link != '0'">
<a>
@@ -776,13 +771,13 @@
<xsl:template name="x.generate.citerefentry.link">
<xsl:text>http://example.com/cgi-bin/man.cgi?</xsl:text>
- <xsl:value-of select="refentrytitle"/>
+ <xsl:value-of select="d:refentrytitle"/>
<xsl:text>(</xsl:text>
- <xsl:value-of select="manvolnum"/>
+ <xsl:value-of select="d:manvolnum"/>
<xsl:text>)</xsl:text>
</xsl:template>
-<xsl:template match="citetitle">
+<xsl:template match="d:citetitle">
<xsl:choose>
<xsl:when test="@pubwork = 'article'">
<xsl:call-template name="gentext.startquote"/>
@@ -795,7 +790,7 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="emphasis">
+<xsl:template match="d:emphasis">
<span>
<xsl:call-template name="id.attribute"/>
<xsl:choose>
@@ -838,18 +833,18 @@
</span>
</xsl:template>
-<xsl:template match="foreignphrase">
+<xsl:template match="d:foreignphrase">
<span>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="inline.italicseq"/>
</span>
</xsl:template>
-<xsl:template match="markup">
+<xsl:template match="d:markup">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="phrase">
+<xsl:template match="d:phrase">
<span>
<xsl:call-template name="id.attribute"/>
<xsl:call-template name="locale.html.attributes"/>
@@ -875,7 +870,7 @@
</span>
</xsl:template>
-<xsl:template match="quote">
+<xsl:template match="d:quote">
<xsl:variable name="depth">
<xsl:call-template name="dot.count">
<xsl:with-param name="string">
@@ -900,30 +895,30 @@
</span>
</xsl:template>
-<xsl:template match="varname">
+<xsl:template match="d:varname">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
-<xsl:template match="wordasword">
+<xsl:template match="d:wordasword">
<xsl:call-template name="inline.italicseq"/>
</xsl:template>
-<xsl:template match="lineannotation">
+<xsl:template match="d:lineannotation">
<em>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="inline.charseq"/>
</em>
</xsl:template>
-<xsl:template match="superscript">
+<xsl:template match="d:superscript">
<xsl:call-template name="inline.superscriptseq"/>
</xsl:template>
-<xsl:template match="subscript">
+<xsl:template match="d:subscript">
<xsl:call-template name="inline.subscriptseq"/>
</xsl:template>
-<xsl:template match="trademark">
+<xsl:template match="d:trademark">
<xsl:call-template name="inline.charseq"/>
<xsl:choose>
<xsl:when test="@class = 'copyright' or @class = 'registered'">
@@ -942,13 +937,13 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="firstterm">
+<xsl:template match="d:firstterm">
<xsl:call-template name="glossterm">
<xsl:with-param name="firstterm" select="1"/>
</xsl:call-template>
</xsl:template>
-<xsl:template match="glossterm" name="glossterm">
+<xsl:template match="d:glossterm" name="glossterm">
<xsl:param name="firstterm" select="0"/>
<!-- To avoid extra <a name=""> anchor from inline.italicseq -->
@@ -997,12 +992,12 @@
</xsl:choose>
</xsl:variable>
- <xsl:variable name="cterm" select="(document($glossary.collection,.)//glossentry[glossterm=$term])[1]"/>
+ <xsl:variable name="cterm" select="(document($glossary.collection,.)//d:glossentry[d:glossterm=$term])[1]"/>
<!-- HACK HACK HACK! But it works... -->
<!-- You'd need to do more work if you wanted to chunk on glossdiv, though -->
- <xsl:variable name="glossary" select="//glossary[@role='auto']"/>
+ <xsl:variable name="glossary" select="//d:glossary[@role='auto']"/>
<xsl:if test="count($glossary) != 1">
<xsl:message>
@@ -1107,7 +1102,7 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="termdef">
+<xsl:template match="d:termdef">
<span>
<xsl:apply-templates select="." mode="common.html.attributes"/>
<xsl:call-template name="gentext.template">
@@ -1122,7 +1117,7 @@
</span>
</xsl:template>
-<xsl:template match="sgmltag|tag">
+<xsl:template match="d:sgmltag|d:tag">
<xsl:call-template name="format.sgmltag"/>
</xsl:template>
@@ -1208,7 +1203,7 @@
</code>
</xsl:template>
-<xsl:template match="email">
+<xsl:template match="d:email">
<xsl:call-template name="inline.monoseq">
<xsl:with-param name="content">
<xsl:if test="not($email.delimiters.enabled = 0)">
@@ -1230,7 +1225,7 @@
</xsl:call-template>
</xsl:template>
-<xsl:template match="keycombo">
+<xsl:template match="d:keycombo">
<xsl:variable name="action" select="@action"/>
<xsl:variable name="joinchar">
<xsl:choose>
@@ -1249,14 +1244,14 @@
</xsl:for-each>
</xsl:template>
-<xsl:template match="uri">
+<xsl:template match="d:uri">
<xsl:call-template name="inline.monoseq"/>
</xsl:template>
<!-- ==================================================================== -->
-<xsl:template match="menuchoice">
- <xsl:variable name="shortcut" select="./shortcut"/>
+<xsl:template match="d:menuchoice">
+ <xsl:variable name="shortcut" select="./d:shortcut"/>
<xsl:call-template name="process.menuchoice"/>
<xsl:if test="$shortcut">
<xsl:text> (</xsl:text>
@@ -1266,7 +1261,7 @@
</xsl:template>
<xsl:template name="process.menuchoice">
- <xsl:param name="nodelist" select="guibutton|guiicon|guilabel|guimenu|guimenuitem|guisubmenu|interface"/><!-- not(shortcut) -->
+ <xsl:param name="nodelist" select="d:guibutton|d:guiicon|d:guilabel|d:guimenu|d:guimenuitem|d:guisubmenu|d:interface"/><!-- not(shortcut) -->
<xsl:param name="count" select="1"/>
<xsl:choose>
@@ -1299,20 +1294,20 @@
<!-- ==================================================================== -->
-<xsl:template match="optional">
+<xsl:template match="d:optional">
<xsl:value-of select="$arg.choice.opt.open.str"/>
<xsl:call-template name="inline.charseq"/>
<xsl:value-of select="$arg.choice.opt.close.str"/>
</xsl:template>
-<xsl:template match="citation">
+<xsl:template match="d:citation">
<!-- todo: integrate with bibliography collection -->
- <xsl:variable name="targets" select="(//biblioentry | //bibliomixed)[abbrev = string(current())]"/>
+ <xsl:variable name="targets" select="(//d:biblioentry | //d:bibliomixed)[d:abbrev = string(current())]"/>
<xsl:variable name="target" select="$targets[1]"/>
<xsl:choose>
<!-- try automatic linking based on match to abbrev -->
- <xsl:when test="$target and not(xref) and not(link)">
+ <xsl:when test="$target and not(d:xref) and not(d:link)">
<xsl:text>[</xsl:text>
<a>
@@ -1344,13 +1339,13 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="citebiblioid">
- <xsl:variable name="targets" select="//*[biblioid = string(current())]"/>
+<xsl:template match="d:citebiblioid">
+ <xsl:variable name="targets" select="//*[d:biblioid = string(current())]"/>
<xsl:variable name="target" select="$targets[1]"/>
<xsl:choose>
<!-- try automatic linking based on match to parent of biblioid -->
- <xsl:when test="$target and not(xref) and not(link)">
+ <xsl:when test="$target and not(d:xref) and not(d:link)">
<xsl:text>[</xsl:text>
<a>
@@ -1374,19 +1369,19 @@
</xsl:choose>
</xsl:template>
-<xsl:template match="biblioentry|bibliomixed" mode="citation">
- <xsl:number from="bibliography" count="biblioentry|bibliomixed" level="any" format="1"/>
+<xsl:template match="d:biblioentry|d:bibliomixed" mode="citation">
+ <xsl:number from="d:bibliography" count="d:biblioentry|d:bibliomixed" level="any" format="1"/>
</xsl:template>
<!-- ==================================================================== -->
-<xsl:template match="comment[parent::answer|parent::appendix|parent::article|parent::bibliodiv| parent::bibliography|parent::blockquote|parent::caution|parent::chapter| parent::glossary|parent::glossdiv|parent::important|parent::index| parent::indexdiv|parent::listitem|parent::note|parent::orderedlist| parent::partintro|parent::preface|parent::procedure|parent::qandadiv| parent::qandaset|parent::question|parent::refentry|parent::refnamediv| parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection| parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4| parent::sect5|parent::section|parent::setindex|parent::sidebar| parent::simplesect|parent::taskprerequisites|parent::taskrelated| parent::tasksummary|parent::warning|parent::topic]|remark[parent::answer|parent::appendix|parent::article|parent::bibliodiv| parent::bibliography|parent::blockquote|parent::caution|parent::chapter| parent::glossary|parent::glossdiv|parent::important|parent::index| parent::indexdiv|parent::listitem|parent::note|parent::orderedlist| parent::partintro|parent::preface|parent::procedure|parent::qandadiv| parent::qandaset|parent::question|parent::refentry|parent::refnamediv| parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection| parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4| parent::sect5|parent::section|parent::setindex|parent::sidebar| parent::simplesect|parent::taskprerequisites|parent::taskrelated| parent::tasksummary|parent::warning|parent::topic]">
+<xsl:template match="d:comment[parent::d:answer|parent::d:appendix|parent::d:article|parent::d:bibliodiv| parent::d:bibliography|parent::d:blockquote|parent::d:caution|parent::d:chapter| parent::d:glossary|parent::d:glossdiv|parent::d:important|parent::d:index| parent::d:indexdiv|parent::d:listitem|parent::d:note|parent::d:orderedlist| parent::d:partintro|parent::d:preface|parent::d:procedure|parent::d:qandadiv| parent::d:qandaset|parent::d:question|parent::d:refentry|parent::d:refnamediv| parent::d:refsect1|parent::d:refsect2|parent::d:refsect3|parent::d:refsection| parent::d:refsynopsisdiv|parent::d:sect1|parent::d:sect2|parent::d:sect3|parent::d:sect4| parent::d:sect5|parent::d:section|parent::d:setindex|parent::d:sidebar| parent::d:simplesect|parent::d:taskprerequisites|parent::d:taskrelated| parent::d:tasksummary|parent::d:warning|parent::d:topic]|d:remark[parent::d:answer|parent::d:appendix|parent::d:article|parent::d:bibliodiv| parent::d:bibliography|parent::d:blockquote|parent::d:caution|parent::d:chapter| parent::d:glossary|parent::d:glossdiv|parent::d:important|parent::d:index| parent::d:indexdiv|parent::d:listitem|parent::d:note|parent::d:orderedlist| parent::d:partintro|parent::d:preface|parent::d:procedure|parent::d:qandadiv| parent::d:qandaset|parent::d:question|parent::d:refentry|parent::d:refnamediv| parent::d:refsect1|parent::d:refsect2|parent::d:refsect3|parent::d:refsection| parent::d:refsynopsisdiv|parent::d:sect1|parent::d:sect2|parent::d:sect3|parent::d:sect4| parent::d:sect5|parent::d:section|parent::d:setindex|parent::d:sidebar| parent::d:simplesect|parent::d:taskprerequisites|parent::d:taskrelated| parent::d:tasksummary|parent::d:warning|parent::d:topic]">
<xsl:if test="$show.comments != 0">
<p class="remark"><em><xsl:call-template name="inline.charseq"/></em></p>
</xsl:if>
</xsl:template>
-<xsl:template match="comment|remark">
+<xsl:template match="d:comment|d:remark">
<xsl:if test="$show.comments != 0">
<em><xsl:call-template name="inline.charseq"/></em>
</xsl:if>
@@ -1394,7 +1389,7 @@
<!-- ==================================================================== -->
-<xsl:template match="productname">
+<xsl:template match="d:productname">
<xsl:call-template name="inline.charseq"/>
<xsl:if test="@class">
<xsl:call-template name="dingbat">
@@ -1403,30 +1398,30 @@
</xsl:if>
</xsl:template>
-<xsl:template match="productnumber">
+<xsl:template match="d:productnumber">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
<!-- ==================================================================== -->
-<xsl:template match="pob|street|city|state|postcode|country|otheraddr">
+<xsl:template match="d:pob|d:street|d:city|d:state|d:postcode|d:country|d:otheraddr">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
-<xsl:template match="phone|fax">
+<xsl:template match="d:phone|d:fax">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
<!-- in Addresses, for example -->
-<xsl:template match="honorific|firstname|surname|lineage|othername">
+<xsl:template match="d:honorific|d:firstname|d:surname|d:lineage|d:othername">
<xsl:call-template name="inline.charseq"/>
</xsl:template>
<!-- ==================================================================== -->
-<xsl:template match="person">
+<xsl:template match="d:person">
<xsl:param name="content">
- <xsl:apply-templates select="personname"/>
+ <xsl:apply-templates select="d:personname"/>
</xsl:param>
<xsl:param name="contentwithlink">
@@ -1444,7 +1439,7 @@
</span>
</xsl:template>
-<xsl:template match="personname">
+<xsl:template match="d:personname">
<xsl:param name="content">
<xsl:call-template name="person.name"/>
</xsl:param>
@@ -1466,7 +1461,7 @@
<!-- ==================================================================== -->
-<xsl:template match="org">
+<xsl:template match="d:org">
<xsl:param name="content">
<xsl:apply-templates/>
</xsl:param>
@@ -1486,7 +1481,7 @@
</span>
</xsl:template>
-<xsl:template match="orgname">
+<xsl:template match="d:orgname">
<xsl:param name="content">
<xsl:apply-templates/>
</xsl:param>
@@ -1506,7 +1501,7 @@
</span>
</xsl:template>
-<xsl:template match="orgdiv">
+<xsl:template match="d:orgdiv">
<xsl:param name="content">
<xsl:apply-templates/>
</xsl:param>
@@ -1526,7 +1521,7 @@
</span>
</xsl:template>
-<xsl:template match="affiliation">
+<xsl:template match="d:affiliation">
<xsl:param name="content">
<xsl:call-template name="person.name"/>
</xsl:param>
@@ -1548,8 +1543,8 @@
<!-- ==================================================================== -->
-<xsl:template match="beginpage">
+<xsl:template match="d:beginpage">
<!-- does nothing; this *is not* markup to force a page break. -->
</xsl:template>
-</xsl:stylesheet>
+</xsl:stylesheet> \ No newline at end of file