]> granicus.if.org Git - docbook-dsssl/commitdiff
Updates
authorNorman Walsh <ndw@nwalsh.com>
Mon, 24 Oct 2005 12:17:40 +0000 (12:17 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Mon, 24 Oct 2005 12:17:40 +0000 (12:17 +0000)
docbook/relaxng/docbook/howto/howto.css
docbook/relaxng/docbook/howto/howto.xml
docbook/relaxng/docbook/howto/stylesheets/html.xsl

index 86120ec9197e06ce78f2a4a0a5f356d75dcb9c53..8e601ed09db175a5f51ec592ebd52598c03e6452 100644 (file)
@@ -32,3 +32,7 @@ dl            { margin-left: 3em;
                 padding-top: 0px;
                margin-top: 0px;
               }
+
+.screen, .programlisting { background-color: silver; padding: 4px; }
+.menuchoice, .guimenu, .guisubmenu, .guimenuitem { font-weight: bold; }
+.guibutton { background-color: silver; padding: 2px; }
index 17cd94cf224dc276c66b3b5f70912c7368d37e9a..e7b2dc7b935181f154709b24c69c95ee8521ac62 100644 (file)
@@ -182,7 +182,9 @@ customized DocBook version then before with DTDs.</para>
 <title>Schema jungle</title>
 
 <para>Schemas for DocBook V5.0 are available in several formats at
-<link xl:href="FIXME: add link"/>. Only the RELAX NG schema is normative
+<link xl:href="http://www.oasis-open.org/docbook/xml/5.0b1/"/> (or the
+mirror at <link xl:href="http://docbook.org/xml/5.0b1/"/>).
+Only the RELAX NG schema is normative
 and it is preferred over the other schema languages. However, for your
 convenience there are also DTD and W3C XML Schema versions provided for DocBook
 V5.0. But please note that neither DTDs nor XML schemas are able to
@@ -206,22 +208,25 @@ following locations:</para>
 <variablelist>
 <varlistentry>
 <term>RELAX NG schema</term>
-<listitem><para><link xl:href="FIXME:"/></para></listitem>
+<listitem><para><link xl:href="http://www.oasis-open.org/docbook/xml/5.0b1/rng/docbook.rng"/></para></listitem>
 </varlistentry>
 <varlistentry>
 <term>RELAX NG schema in compact syntax</term>
-<listitem><para><link xl:href="FIXME:"/></para></listitem>
+<listitem><para><link xl:href="http://www.oasis-open.org/docbook/xml/5.0b1/rng/docbook.rnc"/></para></listitem>
 </varlistentry>
 <varlistentry>
 <term>DTD</term>
-<listitem><para><link xl:href="FIXME:"/></para></listitem>
+<listitem><para><link xl:href="http://www.oasis-open.org/docbook/xml/5.0b1/dtd/docbook.dtd"/></para></listitem>
 </varlistentry>
 <varlistentry>
 <term>W3C XML Schema</term>
-<listitem><para><link xl:href="FIXME:"/></para></listitem>
+<listitem><para><link xl:href="http://www.oasis-open.org/docbook/xml/5.0b1/xsd/docbook.xsd"/></para></listitem>
 </varlistentry>
 </variablelist>
 
+<para>These schemas are also available from the mirror at
+<link xlink:href="http://docbook.org/xml/5.0b1/"/>.</para>
+
 </section>
 
 <section>
index 3306e9d95cc967347546f01e6b1a13811c77e35b..0c974b267d76dd8ecc356fe6d87396d7cc17c4fa 100644 (file)
 
 <xsl:template match="authorgroup" mode="howto-titlepage">
   <h4>
-    <xsl:text>Editor</xsl:text>
+    <xsl:text>Author</xsl:text>
     <xsl:if test="count(author) &gt; 1">s</xsl:if>
     <xsl:text>:</xsl:text>
   </h4>
-  <dl class="editorlist">
+  <dl class="authorlist">
     <xsl:apply-templates select="author" mode="howto-titlepage"/>
   </dl>
 </xsl:template>
   </dt>
 </xsl:template>
 
+<xsl:template match="tag[not(@class) or (@class='element')]
+                       [not(@condition = 'nolink')]">
+  <xsl:variable name="baseUri">
+    <xsl:choose>
+      <xsl:when test="@condition = 'v4'">
+       <xsl:text>http://docbook.org/tdg/en/html/</xsl:text>
+      </xsl:when>
+      <xsl:otherwise>http://docbook.org/tdg5/en/html/</xsl:otherwise>
+    </xsl:choose>
+  </xsl:variable>
+
+  <a href="{$baseUri}{.}.html">
+    <xsl:apply-imports/>
+  </a>
+</xsl:template>
+
 </xsl:stylesheet>