1<?xml version="1.0" encoding="utf-8"?> 2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 3 version="1.0"> 4 5<xsl:import href="/html/docbook.xsl"/> 6 7<xsl:param name="html.stylesheet" select="'reference.css'"/> 8 9<xsl:template match="/legalnotice"> 10 <xsl:apply-templates select="." mode="titlepage.mode"/> 11</xsl:template> 12 13<xsl:template match="olink[@type='title']"> 14 <xsl:variable name="xml" 15 select="document(unparsed-entity-uri(@targetdocent))"/> 16 <xsl:variable name="title" select="($xml/*/title[1] 17 |$xml/*/bookinfo/title[1] 18 |$xml/*/referenceinfo/title[1])[1]"/> 19 <i> 20 <a href="{@localinfo}"> 21 <xsl:apply-templates select="$title/*|$title/text()"/> 22 </a> 23 </i> 24</xsl:template> 25 26<xsl:template match="copyright" mode="titlepage.mode"> 27 <xsl:variable name="years" select="year"/> 28 <xsl:variable name="holders" select="holder"/> 29 30 <p class="{name(.)}"> 31 <a href="copyright.html"> 32 <xsl:call-template name="gentext.element.name"/> 33 </a> 34 <xsl:call-template name="gentext.space"/> 35 <xsl:call-template name="dingbat"> 36 <xsl:with-param name="dingbat">copyright</xsl:with-param> 37 </xsl:call-template> 38 <xsl:call-template name="gentext.space"/> 39 <xsl:apply-templates select="$years" mode="titlepage.mode"/> 40 <xsl:call-template name="gentext.space"/> 41 <xsl:call-template name="gentext.by"/> 42 <xsl:call-template name="gentext.space"/> 43 <xsl:apply-templates select="$holders" mode="titlepage.mode"/> 44 <xsl:text>. </xsl:text> 45 <a href="warranty.html">No Warranty</a> 46 <xsl:text>.</xsl:text> 47 </p> 48</xsl:template> 49 50</xsl:stylesheet> 51