stylesheets.
<xsl:template name="get.title">
<xsl:param name="ctx" select="."/>
- <xsl:value-of select="($ctx/db:info/db:titleabbrev|$ctx/db:titleabbrev|$ctx/db:info/db:title|$ctx/db:title)[1]"/>
+ <xsl:value-of select="($ctx/d:info/d:titleabbrev|$ctx/d:titleabbrev|$ctx/d:info/d:title|$ctx/d:title)[1]"/>
</xsl:template>
<xsl:template name="get.subtitle">
<xsl:param name="ctx" select="."/>
- <xsl:value-of select="($ctx/db:info/db:subtitle|$ctx/db:subtitle)[1]"/>
+ <xsl:value-of select="($ctx/d:info/d:subtitle|$ctx/d:subtitle)[1]"/>
</xsl:template>
</xsl:stylesheet>
</fo:bookmark>
</xsl:template>
-<xsl:template match="db:author" mode="titlepage.mode">
+<xsl:template match="d:author" mode="titlepage.mode">
<fo:block>
- <xsl:apply-templates select="db:personname" mode="titlepage.mode"/>
+ <xsl:apply-templates select="d:personname" mode="titlepage.mode"/>
</fo:block>
<fo:block>
- <xsl:apply-templates select="db:affiliation" mode="titlepage.mode"/>
+ <xsl:apply-templates select="d:affiliation" mode="titlepage.mode"/>
</fo:block>
<fo:block>
- <xsl:apply-templates select="db:email" mode="titlepage.mode"/>
+ <xsl:apply-templates select="d:email" mode="titlepage.mode"/>
</fo:block>
</xsl:template>
<fo:block xsl:use-attribute-sets="foil.properties">
<xsl:choose>
<xsl:when test="$mode = 'normal'">
- <xsl:apply-templates select="*[not(self::dbs:foil)][not(self::db:info)][not(self::db:title)][not(self::db:titleabbrev)][not(self::db:subtitle)][not(self::dbs:speakernotes)][not(self::dbs:handoutnotes)]"/>
+ <xsl:apply-templates select="*[not(self::dbs:foil)][not(self::d:info)][not(self::d:title)][not(self::d:titleabbrev)][not(self::d:subtitle)][not(self::dbs:speakernotes)][not(self::dbs:handoutnotes)]"/>
<xsl:if test="self::dbs:foilgroup and ($generate.foilgroup.toc != 0)">
<xsl:call-template name="foilgroup.generate.toc"/>
</xsl:template>
<xsl:template name="footer.center">
- <xsl:if test="($generate.copyright != 0) and /dbs:slides/db:info/db:copyright">
+ <xsl:if test="($generate.copyright != 0) and /dbs:slides/d:info/d:copyright">
<fo:block>
<xsl:call-template name="gentext">
<xsl:with-param name="key" select="'Copyright'"/>
<xsl:call-template name="gentext.space"/>
<xsl:text>©</xsl:text>
<xsl:call-template name="gentext.space"/>
- <xsl:value-of select="/dbs:slides/db:info/db:copyright/db:year"/>
+ <xsl:value-of select="/dbs:slides/d:info/d:copyright/d:year"/>
<xsl:call-template name="gentext.space"/>
- <xsl:value-of select="/dbs:slides/db:info/db:copyright/db:holder"/>
+ <xsl:value-of select="/dbs:slides/d:info/d:copyright/d:holder"/>
</fo:block>
</xsl:if>
- <xsl:if test="($generate.pubdate != 0) and /dbs:slides/db:info/db:pubdate">
+ <xsl:if test="($generate.pubdate != 0) and /dbs:slides/d:info/d:pubdate">
<xsl:call-template name="slide.pubdate"/>
</xsl:if>
</xsl:template>
<xsl:with-param name="key" select="'Published'"/>
</xsl:call-template>
<xsl:text>: </xsl:text>
- <xsl:value-of select="/dbs:slides/db:info/db:pubdate"/>
+ <xsl:value-of select="/dbs:slides/d:info/d:pubdate"/>
</fo:block>
</xsl:template>
</div>
</xsl:template>
-<xsl:template match="db:info">
- <xsl:apply-templates select="db:title|db:titleabbrev|db:subtitle|db:author|db:authorgroup/db:author"/>
+<xsl:template match="d:info">
+ <xsl:apply-templates select="d:title|d:titleabbrev|d:subtitle|d:author|d:authorgroup/d:author"/>
</xsl:template>
-<xsl:template match="db:title|db:titleabbrev">
- <xsl:if test="not(self::db:title) or (not(preceding-sibling::db:titleabbrev) and not(following-sibling::db:titleabbrev))">
+<xsl:template match="d:title|d:titleabbrev">
+ <xsl:if test="not(self::d:title) or (not(preceding-sibling::d:titleabbrev) and not(following-sibling::d:titleabbrev))">
<h1 class="title"><xsl:value-of select="."/></h1>
</xsl:if>
</xsl:template>
-<xsl:template match="db:subtitle">
+<xsl:template match="d:subtitle">
<h1 class="subtitle"><xsl:value-of select="."/></h1>
</xsl:template>
-<xsl:template match="db:author">
- <h3 class="author"><xsl:apply-templates select="db:personname|db:orgname"/></h3>
- <h4 class="email"><xsl:apply-templates select="db:email"/></h4>
- <xsl:if test="db:affiliation">
- <h4 class="affiliation"><xsl:value-of select="db:affiliation"/></h4>
+<xsl:template match="d:author">
+ <h3 class="author"><xsl:apply-templates select="d:personname|d:orgname"/></h3>
+ <h4 class="email"><xsl:apply-templates select="d:email"/></h4>
+ <xsl:if test="d:affiliation">
+ <h4 class="affiliation"><xsl:value-of select="d:affiliation"/></h4>
</xsl:if>
</xsl:template>
-<xsl:template match="db:email">
+<xsl:template match="d:email">
<a>
<xsl:attribute name="href">
<xsl:text>mailto:</xsl:text><xsl:value-of select="."/>
<xsl:apply-templates select="*"/>
</xsl:template>
-<xsl:template match="db:itemizedlist">
+<xsl:template match="d:itemizedlist">
<ul>
<xsl:call-template name="list.content"/>
</ul>
</xsl:template>
-<xsl:template match="db:orderedlist">
+<xsl:template match="d:orderedlist">
<ol>
<xsl:call-template name="list.content"/>
</ol>
</xsl:template>
-<xsl:template match="db:mediaobject">
+<xsl:template match="d:mediaobject">
<xsl:variable name="classValue">
<xsl:call-template name="process.dbs.attributes">
<xsl:with-param name="attributeSet" select="(ancestor-or-self::*/@dbs:incremental)[last()] | (ancestor-or-self::*/@dbs:collapsible)[last()] | self::*/@dbs:style"/>
</xsl:variable>
<div class="{$classValue}">
- <xsl:apply-templates select="db:imageobject[1]"/>
+ <xsl:apply-templates select="d:imageobject[1]"/>
</div>
</xsl:template>
<xsl:template name="bibliography.titlepage"/>
-<xsl:template match="db:bibliosource" mode="bibliography.mode">
+<xsl:template match="d:bibliosource" mode="bibliography.mode">
<span>
<xsl:call-template name="common.html.attributes"/>
<xsl:call-template name="id.attribute"/>
<xsl:call-template name="gentext.space"/>
<xsl:text>©</xsl:text>
<xsl:call-template name="gentext.space"/>
- <xsl:value-of select="/dbs:slides/db:info/db:copyright/db:year"/>
+ <xsl:value-of select="/dbs:slides/d:info/d:copyright/d:year"/>
<xsl:call-template name="gentext.space"/>
- <xsl:value-of select="/dbs:slides/db:info/db:copyright/db:holder"/>
+ <xsl:value-of select="/dbs:slides/d:info/d:copyright/d:holder"/>
</div>
</xsl:template>
<xsl:with-param name="key" select="'Published'"/>
</xsl:call-template>
<xsl:text>: </xsl:text>
- <xsl:value-of select="/dbs:slides/db:info/db:pubdate"/>
+ <xsl:value-of select="/dbs:slides/d:info/d:pubdate"/>
</div>
</xsl:template>
<xsl:template match="/" mode="slide.header.mode"/>
<xsl:template match="/" mode="slide.footer.mode">
- <xsl:if test="($generate.copyright != 0) and /dbs:slides/db:info/db:copyright">
+ <xsl:if test="($generate.copyright != 0) and /dbs:slides/d:info/d:copyright">
<xsl:call-template name="slide.copyright"/>
</xsl:if>
- <xsl:if test="($generate.pubdate != 0) and /dbs:slides/db:info/db:pubdate">
+ <xsl:if test="($generate.pubdate != 0) and /dbs:slides/d:info/d:pubdate">
<xsl:call-template name="slide.pubdate"/>
</xsl:if>
</xsl:template>
</div>
</xsl:template>
-<xsl:template match="db:xref">
+<xsl:template match="d:xref">
<xsl:variable name="target" select="id(./@linkend)"/>
<xsl:choose>
</xsl:choose>
</xsl:template>
-<xsl:template match="db:biblioentry" mode="xref-to">
+<xsl:template match="d:biblioentry" mode="xref-to">
<xsl:variable name="id" select="@xml:id"/>
<xsl:choose>
<xsl:when test="$bibliography.numbered != 0">
- <xsl:number from="db:bibliography" count="db:biblioentry|db:bibliomixed" level="any" format="1"/>
+ <xsl:number from="d:bibliography" count="d:biblioentry|d:bibliomixed" level="any" format="1"/>
</xsl:when>
<xsl:otherwise>
</xsl:choose>
</xsl:template>
-<xsl:template match="db:mediaobject">
+<xsl:template match="d:mediaobject">
<p>
<xsl:if test="@dbs:style">
<xsl:attribute name="class">
<xsl:template name="xhtml.head">
<meta name="copyright">
<xsl:attribute name="content">
- <xsl:if test="/dbs:slides/db:info/db:copyright">
+ <xsl:if test="/dbs:slides/d:info/d:copyright">
<xsl:call-template name="slide.copyright"/>
</xsl:if>
</xsl:attribute>
<xsl:apply-templates select="/dbs:slides/dbs:foil|dbs:slides/dbs:foilgroup"/>
</xsl:template>
-<xsl:template match="db:xref">
+<xsl:template match="d:xref">
<xsl:variable name="target" select="id(./@linkend)"/>
<xsl:choose>
</xsl:choose>
</xsl:template>
-<xsl:template match="db:biblioentry" mode="xref-to">
+<xsl:template match="d:biblioentry" mode="xref-to">
<xsl:variable name="id" select="@xml:id"/>
- <xsl:variable name="entry" select="//db:bibliography/*[@xml:id=$id][1]"/>
+ <xsl:variable name="entry" select="//d:bibliography/*[@xml:id=$id][1]"/>
<a>
<xsl:attribute name="href">
</xsl:attribute>
<xsl:choose>
<xsl:when test="$bibliography.numbered != 0">
- <xsl:number from="db:bibliography" count="db:biblioentry|db:bibliomixed" level="any" format="1"/>
+ <xsl:number from="d:bibliography" count="d:biblioentry|d:bibliomixed" level="any" format="1"/>
</xsl:when>
<xsl:otherwise>