svn commit: r951262 - in /forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx: resources/stylesheets/flat-to-document.xsl status.xml
| Newsgroups | gmane.text.xml.forrest.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: crossley
Date: Fri Jun 4 04:23:56 2010
New Revision: 951262
URL: http://svn.apache.org/viewvc?rev=951262&view=rev
Log:
Rendered element "sections" now have a title, so will show properly
in the table of contents. Also sorted the list of elements alphabetically.
Issue: FOR-1190
Modified:
forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/resources/stylesheets/flat-to-document.xsl
forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/resources/stylesheets/flat-to-document.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/resources/stylesheets/flat-to-document.xsl?rev=951262&r1=951261&r2=951262&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/resources/stylesheets/flat-to-document.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/resources/stylesheets/flat-to-document.xsl Fri Jun 4 04:23:56 2010
@@ -29,7 +29,7 @@
</subtitle>
</header>
<body>
- <section>
+ <section id="elements-top">
<title>Top-level element(s)</title>
<ul>
<xsl:for-each select="/dtd/contentModel[not(key('contentmodelbychildren', @ename))]">
@@ -38,28 +38,24 @@
</xsl:for-each>
</ul>
</section>
- <section>
- <title>List of elements</title>
- <ul>
- <xsl:for-each select="contentModel">
- <xsl:sort select="@ename"/>
- <li><link href="#{@ename}">
- <xsl:value-of select="@ename"/></link></li>
- </xsl:for-each>
- </ul>
- </section>
- <section>
+ <section id="elements">
<title>Element declarations</title>
- <xsl:apply-templates select="contentModel"/>
+ <xsl:apply-templates select="contentModel">
+ <xsl:sort select="@ename"/>
+ </xsl:apply-templates>
</section>
</body>
</document>
</xsl:template>
<xsl:template match="contentModel">
<section id="{@ename}">
+ <title>
+ <xsl:value-of select="@ename"/>
+ </title>
<table class="dtdElement" cellspacing="0" cellpadding="0" border="0">
<tr>
<td colspan="3">
+ <b><xsl:text>Element name </xsl:text></b>
<span class="dtdTag">
<xsl:value-of select="@ename"/>
</span>
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml?rev=951262&r1=951261&r2=951262&view=diff
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.dtdx/status.xml Fri Jun 4 04:23:56 2010
@@ -16,8 +16,24 @@
limitations under the License.
-->
<status>
+ <developers>
+ <person name="David Crossley" email="[email protected]" id="DC" />
+ <person name="Ross Gardler" email="[email protected]" id="RDG"/>
+ <person name="Volunteer needed" email="[email protected]" id="open"/>
+ </developers>
+ <contexts>
+ <context id="code" title="Changes to the Code Base"/>
+ <context id="docs" title="Changes to Documentation"/>
+ <context id="admin" title="Changes to Project Administration"/>
+ <context id="design" title="Changes to Design"/>
+ <context id="build" title="Changes to Build"/>
+ </contexts>
<changes>
<release version="0.2-dev" date="not-released">
+ <action dev="DC" type="update" context="code" fixes-bug="FOR-1190">
+ Rendered element "sections" now have a title, so will show properly
+ in the table of contents. Also sorted the list of elements alphabetically.
+ </action>
<action dev="RDG" type="update" context="code" importance="high">
Use the locationmap to expose internal resources.
</action>