dion 2002/06/15 21:24:42
Modified: src/templates/build/plugins/docs docbook2document.xsl
Log:
Added comments on what needs to be done
Revision Changes Path
1.2 +6 -32
jakarta-turbine-maven/src/templates/build/plugins/docs/docbook2document.xsl
Index: docbook2document.xsl
===================================================================
RCS file:
/home/cvs/jakarta-turbine-maven/src/templates/build/plugins/docs/docbook2document.xsl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- docbook2document.xsl 16 Jun 2002 03:19:35 -0000 1.1
+++ docbook2document.xsl 16 Jun 2002 04:24:42 -0000 1.2
@@ -5,7 +5,10 @@
Author: Peter Donald ([EMAIL PROTECTED])
Author: dIon Gillard ([EMAIL PROTECTED])
Version: $Id$
- FIXME: Doesn't handle attributes of informaltable and other docbook
elements
+ FIXME: - Doesn't handle attributes of informaltable and other docbook
+ elements
+ - currently doesn't process all docbook-simple elements
+ - still has some docbook leftovers
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
@@ -17,39 +20,10 @@
<xsl:apply-templates />
</xsl:template>
- <!-- top level component templates -->
- <xsl:template match="book">
- <document>
- <properties>
- <title>
- <xsl:value-of select="title"/>
- <xsl:if test="subtitle">
- (<xsl:value-of select="subtitle"/>)
- </xsl:if>
- </title>
- <xsl:for-each select="//authorgroup/author">
- <author email="{affiliation/address/email}">
- <xsl:if test="honorific"><xsl:value-of select="honorific"/>. </xsl:if>
- <xsl:if test="firstname">
- <xsl:value-of select="firstname"/>
- <xsl:text> </xsl:text>
- </xsl:if>
- <xsl:value-of select="surname"/>
- </author>
- </xsl:for-each>
- </properties>
-
- <body>
- <xsl:apply-templates select="dedication"/>
- <xsl:apply-templates select="bookinfo"/>
- </body>
- </document>
- </xsl:template>
-
<!--
top level components create document, properties element and start body
-->
- <xsl:template match="chapter|article|appendix">
+ <xsl:template match="article">
<document>
<properties>
<title>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>