You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by cr...@apache.org on 2003/08/31 07:19:52 UTC
cvs commit: xml-forrest/src/resources/stylesheets howto2document.xsl
crossley 2003/08/30 22:19:52
Modified: src/resources/stylesheets howto2document.xsl
Log:
Fix some validation errors.
Get howto readers to contact the community rather than the author.
Revision Changes Path
1.5 +9 -5 xml-forrest/src/resources/stylesheets/howto2document.xsl
Index: howto2document.xsl
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/stylesheets/howto2document.xsl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- howto2document.xsl 11 Feb 2003 11:46:55 -0000 1.4
+++ howto2document.xsl 31 Aug 2003 05:19:52 -0000 1.5
@@ -37,7 +37,9 @@
<xsl:template match="howto/header/abstract">
<section id="Overview">
<title>Overview</title>
+ <p>
<xsl:apply-templates/>
+ </p>
</section>
</xsl:template>
@@ -78,16 +80,18 @@
<xsl:template match="revisions">
<section id="revisions">
<title>Revisions</title>
- <p>Find a problem with this document? Consider contacting the author or submitting your own revision. For instructions, read the How To Submit a Revision.</p>
- <ul>
- <xsl:apply-templates select="revision"/>
- </ul>
+ <p>Find a problem with this document? Consider contacting the mailing lists or submitting your own revision. For instructions, read the How To Submit a Revision.</p>
+ <xsl:if test="revision">
+ <ul>
+ <xsl:apply-templates select="revision"/>
+ </ul>
+ </xsl:if>
</section>
</xsl:template>
<xsl:template match="revision">
<xsl:variable name="href"><xsl:value-of select="concat(substring-before(@name,'.xml'),'.html')" /></xsl:variable>
- <li>Revision, <a href="{ $href}"><xsl:value-of select="@date"/></a></li>
+ <li>Revision, <link href="{ $href}"><xsl:value-of select="@date"/></link></li>
</xsl:template>
</xsl:stylesheet>