forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r527028 [3/4] - in /forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki: ./ resources/chaperon/ resources/chaperon/misc/ resources/chaperon/stylesheets/ src/documentation/ src/documentation/content/xdocs/ src/documentation/content/xd...
Date Tue, 10 Apr 2007 04:57:57 GMT
Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/moinwiki2xdoc.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/moinwiki2xdoc.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/moinwiki2xdoc.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/moinwiki2xdoc.xsl Mon Apr  9 21:57:55 2007
@@ -19,85 +19,72 @@
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                 xmlns:st="http://chaperon.sourceforge.net/schema/syntaxtree/2.0"
                 exclude-result-prefixes="st">
-
- <xsl:output indent="yes" 
+  <xsl:output indent="yes" 
              method="html"
              doctype-public="-//APACHE//DTD Documentation V1.1//EN"
              doctype-system="document-v11.dtd"
              cdata-section-elements="source"/>
-
- <xsl:param name="name" select="''"/>
- <xsl:param name="spaceless-filenames" select="''"/>
-
- <xsl:template name="splitString">
+  <xsl:param name="name" select="''"/>
+  <xsl:param name="spaceless-filenames" select="''"/>
+  <xsl:template name="splitString">
     <xsl:param name="restOfString"/>
-    
     <xsl:variable name="uppercase">(ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
     <xsl:variable name="currentLetter" select="substring($restOfString,1,1)"/>
-    
     <xsl:choose>
-        <xsl:when test="contains($restOfString, '(') or contains($restOfString,' ')">
-            <xsl:value-of select="$restOfString"/>
-        </xsl:when>
-        <xsl:when test="string-length($restOfString) &gt;= 2">
-        <!-- there's a possibility it needs to be split -->
+      <xsl:when test="contains($restOfString, '(') or contains($restOfString,' ')">
+        <xsl:value-of select="$restOfString"/>
+      </xsl:when>
+      <xsl:when test="string-length($restOfString) &gt;= 2">
+<!-- there's a possibility it needs to be split -->
         <xsl:choose>
-            <xsl:when test="contains($uppercase,$currentLetter)">
-                <xsl:variable name="followingLetter" select="substring($restOfString,2,1)"/>
-                <xsl:if test="not(contains($uppercase,$followingLetter))">
-                    <xsl:text> </xsl:text>
-                </xsl:if>
-                <xsl:value-of select="$currentLetter"/>
-                
-                <xsl:call-template name="splitString">
-                    <xsl:with-param name="restOfString" select="substring($restOfString,2)"/>
-                </xsl:call-template>
-            </xsl:when>
-            <xsl:otherwise>
-                <!-- current letter is lower-case - just spit it out -->
-                <xsl:value-of select="$currentLetter"/>
-                <xsl:call-template name="splitString">
-                    <xsl:with-param name="restOfString" select="substring($restOfString,2)"/>
-                </xsl:call-template>
-            </xsl:otherwise>
+          <xsl:when test="contains($uppercase,$currentLetter)">
+            <xsl:variable name="followingLetter" select="substring($restOfString,2,1)"/>
+            <xsl:if test="not(contains($uppercase,$followingLetter))">
+<xsl:text> </xsl:text>
+            </xsl:if>
+            <xsl:value-of select="$currentLetter"/>
+            <xsl:call-template name="splitString">
+              <xsl:with-param name="restOfString" select="substring($restOfString,2)"/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:otherwise>
+<!-- current letter is lower-case - just spit it out -->
+            <xsl:value-of select="$currentLetter"/>
+            <xsl:call-template name="splitString">
+              <xsl:with-param name="restOfString" select="substring($restOfString,2)"/>
+            </xsl:call-template>
+          </xsl:otherwise>
         </xsl:choose>
-        </xsl:when>
-        <xsl:otherwise>
-        <!-- end of string - just write the remainder -->
+      </xsl:when>
+      <xsl:otherwise>
+<!-- end of string - just write the remainder -->
         <xsl:value-of select="$restOfString"/>
-        </xsl:otherwise>
+      </xsl:otherwise>
     </xsl:choose>
- </xsl:template>
-
-
-
+  </xsl:template>
   <xsl:template match="st:output">
-    <document>  
-      <header>  
-	<title>
-	  <xsl:variable name="title" select="st:document/st:sections1/st:section/st:title/st:textsequence"/>
-	  <xsl:choose>
-	    <xsl:when test="$title">
-	      <xsl:value-of select="$title"/>
-	    </xsl:when>
-	    <xsl:otherwise>
+    <document>
+      <header>
+        <title><xsl:variable name="title" select="st:document/st:sections1/st:section/st:title/st:textsequence"/>
+          <xsl:choose>
+            <xsl:when test="$title">
+              <xsl:value-of select="$title"/>
+            </xsl:when>
+            <xsl:otherwise>
 <!-- 	      <xsl:when test="$name"> -->
-		<xsl:call-template name="splitString">
-		  <xsl:with-param name="restOfString" select="$name"/>
-		</xsl:call-template>
+              <xsl:call-template name="splitString">
+                <xsl:with-param name="restOfString" select="$name"/>
+              </xsl:call-template>
 <!-- 	      </xsl:when> -->
-	    </xsl:otherwise>
-	  </xsl:choose>
-	</title>  
-      </header>  
+            </xsl:otherwise>
+          </xsl:choose></title>
+      </header>
       <body>
-	<xsl:apply-templates select="st:document/st:paragraphs/st:paragraph/*" mode="paragraph"/>  
-	<xsl:apply-templates select="st:document/st:sections"/>
-      </body>  
+        <xsl:apply-templates select="st:document/st:paragraphs/st:paragraph/*" mode="paragraph"/>
+        <xsl:apply-templates select="st:document/st:sections"/>
+      </body>
     </document>
   </xsl:template>
-
-
   <xsl:template match="st:sections">
     <xsl:apply-templates select="st:sections5/st:section5"/>
     <xsl:apply-templates select="st:sections4/st:section4"/>
@@ -105,459 +92,361 @@
     <xsl:apply-templates select="st:sections2/st:section2"/>
     <xsl:apply-templates select="st:sections1/st:section1"/>
   </xsl:template>
-
- <xsl:template match="st:section1">
-  <section>
-   <title><xsl:value-of select="st:title1/st:textsequence"/></title>  
-   <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:sections2/st:section2" />
-  </section>
- </xsl:template>
-
-
- <xsl:template match="st:section2">
-  <section>
-   <title><xsl:value-of select="st:title2/st:textsequence"/></title>
-   <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:sections3/st:section3" />
-  </section>
- </xsl:template>
-
- <xsl:template match="st:section3">
-  <section>
-   <title><xsl:value-of select="st:title3/st:textsequence"/></title>
-   <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:sections4/st:section4" />
-  </section>
- </xsl:template>
-
- <xsl:template match="st:section4">
-  <section>
-   <title><xsl:value-of select="st:title4/st:textsequence"/></title>
-   <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:sections5/st:section5" />
-  </section>
- </xsl:template>
-
- <xsl:template match="st:section5">
-  <section>
-   <title><xsl:value-of select="st:title5/st:textsequence"/></title>
-   <xsl:apply-templates select="st:paragraphs/st:paragraph/*" />
-  </section>
- </xsl:template>
-
- <xsl:template match="st:source">
-  <source>
-   <xsl:value-of select="substring(.,4,string-length(.)-6)"/>
-  </source>
- </xsl:template>
-
- <xsl:template match="st:textsequence">
-  <p>
-   <xsl:apply-templates select="st:textblock/*|st:break"/>
-  </p>
- </xsl:template>
-
- <xsl:template match="st:line" mode="paragraph">
-  <p>--------------------------------------------------------------------------------</p>
- </xsl:template>
-
- <xsl:template match="st:table" mode="paragraph"> 
-  <table>
-   <xsl:apply-templates select="st:tablehead|st:tablerows/st:tablerow"/>
-  </table>
- </xsl:template>
-
- <xsl:template match="st:tablehead"> 
-  <tr>
-   <xsl:apply-templates select="st:tabletitle"/>
-  </tr>
- </xsl:template>
-
- <xsl:template match="st:tabletitle">
-  <th>
-   <xsl:apply-templates select="st:textblock/*"/>
-  </th>
- </xsl:template>
-
- <xsl:template match="st:tablerow">
-  <tr>
-   <xsl:apply-templates select="st:tablecolumns/st:tablecolumn"/>
-  </tr>
- </xsl:template>
-
- <xsl:template match="st:tablecolumn">
-  <td>
-   <xsl:apply-templates select="st:textblock/*"/>
-  </td>
- </xsl:template>
-
- <xsl:template match="st:etablecolumn">
-  <td>
-  </td>
- </xsl:template>
-
- <xsl:template match="st:text">
-  <xsl:value-of select="."/><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:break">
-  <br/>
- </xsl:template>
-
- <xsl:template match="st:link">
-  <xsl:choose>
-   <xsl:when test="contains(.,' ')">
-
-    <xsl:variable name="text" select="substring-before(substring-after(.,' '),']')"/>
-    <xsl:variable name="href0" select="substring-after(substring-before(.,' '),'[')"/>
-
-<!-- 	just a temporary solution until wiki identifiers are available in forrest -->
-	<xsl:variable name="href">
-	  <xsl:choose>
-	    <xsl:when test="substring($href0,1,5) = 'wiki:'">
-	      <xsl:value-of select="concat('http://',substring($href0,6))"/>
-	    </xsl:when>     
-	    <xsl:otherwise>
-	      <xsl:value-of select="$href0"/>
-	    </xsl:otherwise>
-	  </xsl:choose>
-	</xsl:variable>
-
+  <xsl:template match="st:section1">
+    <section>
+      <title><xsl:value-of select="st:title1/st:textsequence"/></title>
+      <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:sections2/st:section2" />
+    </section>
+  </xsl:template>
+  <xsl:template match="st:section2">
+    <section>
+      <title><xsl:value-of select="st:title2/st:textsequence"/></title>
+      <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:sections3/st:section3" />
+    </section>
+  </xsl:template>
+  <xsl:template match="st:section3">
+    <section>
+      <title><xsl:value-of select="st:title3/st:textsequence"/></title>
+      <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:sections4/st:section4" />
+    </section>
+  </xsl:template>
+  <xsl:template match="st:section4">
+    <section>
+      <title><xsl:value-of select="st:title4/st:textsequence"/></title>
+      <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:sections5/st:section5" />
+    </section>
+  </xsl:template>
+  <xsl:template match="st:section5">
+    <section>
+      <title><xsl:value-of select="st:title5/st:textsequence"/></title>
+      <xsl:apply-templates select="st:paragraphs/st:paragraph/*" />
+    </section>
+  </xsl:template>
+  <xsl:template match="st:source">
+    <source>
+      <xsl:value-of select="substring(.,4,string-length(.)-6)"/>
+    </source>
+  </xsl:template>
+  <xsl:template match="st:textsequence">
+    <p>
+      <xsl:apply-templates select="st:textblock/*|st:break"/>
+    </p>
+  </xsl:template>
+  <xsl:template match="st:line" mode="paragraph">
+    <p>
+      --------------------------------------------------------------------------------
+    </p>
+  </xsl:template>
+  <xsl:template match="st:table" mode="paragraph">
+    <table>
+      <xsl:apply-templates select="st:tablehead|st:tablerows/st:tablerow"/>
+    </table>
+  </xsl:template>
+  <xsl:template match="st:tablehead">
+    <tr>
+      <xsl:apply-templates select="st:tabletitle"/>
+    </tr>
+  </xsl:template>
+  <xsl:template match="st:tabletitle">
+    <th>
+      <xsl:apply-templates select="st:textblock/*"/>
+    </th>
+  </xsl:template>
+  <xsl:template match="st:tablerow">
+    <tr>
+      <xsl:apply-templates select="st:tablecolumns/st:tablecolumn"/>
+    </tr>
+  </xsl:template>
+  <xsl:template match="st:tablecolumn">
+    <td>
+      <xsl:apply-templates select="st:textblock/*"/>
+    </td>
+  </xsl:template>
+  <xsl:template match="st:etablecolumn">
+    <td></td>
+  </xsl:template>
+  <xsl:template match="st:text">
+    <xsl:value-of select="."/>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:break">
+    <br/>
+  </xsl:template>
+  <xsl:template match="st:link">
     <xsl:choose>
-     <xsl:when test="string(number($href)) != 'NaN'">
-      <link href="#{$href}">
-       <xsl:value-of select="$text"/>
-      </link>
-     </xsl:when>
-     <xsl:when test="contains($href,'.png') or contains($href,'.jpg') or contains($href,'.gif')">
-      <img src="{$href}" alt="{$text}"/>
-     </xsl:when>
-     <xsl:when test="contains($href,':') or contains($href,'.')">
-      <link href="{$href}">
-       <xsl:value-of select="$text"/>
-      </link>
-     </xsl:when>
-     <xsl:otherwise>
-      <link>
-       <xsl:attribute name="href">
-      <xsl:choose>
-       <xsl:when test="$spaceless-filenames">
-          <xsl:value-of select="concat(translate($href,' ',''),'.html')"/>
-       </xsl:when>
-       <xsl:otherwise>
-          <xsl:value-of select="concat('view.do?page=',$href)"/>
-       </xsl:otherwise>
-      </xsl:choose>
-       </xsl:attribute>
-       <xsl:value-of select="$text"/>
-      </link>
-     </xsl:otherwise>
-    </xsl:choose>
-
-   </xsl:when>
-   <xsl:otherwise>
-    <xsl:variable name="href0" select="substring(.,2,string-length(.)-2)"/>
-    
+      <xsl:when test="contains(.,' ')">
+        <xsl:variable name="text" select="substring-before(substring-after(.,' '),']')"/>
+        <xsl:variable name="href0" select="substring-after(substring-before(.,' '),'[')"/>
 <!-- 	just a temporary solution until wiki identifiers are available in forrest -->
-	<xsl:variable name="href">
-	  <xsl:choose>
-	    <xsl:when test="substring($href0,1,5) = 'wiki:'">
-	      <xsl:value-of select="concat('http://',substring($href0,6))"/>
-	    </xsl:when>     
-	    <xsl:otherwise>
-	      <xsl:value-of select="$href0"/>
-	    </xsl:otherwise>
-	  </xsl:choose>
-	</xsl:variable>
-
-    <xsl:choose>
-     <xsl:when test="string(number($href)) != 'NaN'">
-      <link href="#{$href}">
+        <xsl:variable name="href">
+          <xsl:choose>
+            <xsl:when test="substring($href0,1,5) = 'wiki:'">
+              <xsl:value-of select="concat('http://',substring($href0,6))"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$href0"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+        <xsl:choose>
+          <xsl:when test="string(number($href)) != 'NaN'"><link href="#{$href}">
+            <xsl:value-of select="$text"/></link>
+          </xsl:when>
+          <xsl:when test="contains($href,'.png') or contains($href,'.jpg') or contains($href,'.gif')">
+            <img src="{$href}" alt="{$text}"/>
+          </xsl:when>
+          <xsl:when test="contains($href,':') or contains($href,'.')"><link href="{$href}">
+            <xsl:value-of select="$text"/></link>
+          </xsl:when>
+          <xsl:otherwise><link>
+            <xsl:attribute name="href">
+              <xsl:choose>
+                <xsl:when test="$spaceless-filenames">
+                  <xsl:value-of select="concat(translate($href,' ',''),'.html')"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="concat('view.do?page=',$href)"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+            <xsl:value-of select="$text"/></link>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:variable name="href0" select="substring(.,2,string-length(.)-2)"/>
+<!-- 	just a temporary solution until wiki identifiers are available in forrest -->
+        <xsl:variable name="href">
+          <xsl:choose>
+            <xsl:when test="substring($href0,1,5) = 'wiki:'">
+              <xsl:value-of select="concat('http://',substring($href0,6))"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$href0"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:variable>
+        <xsl:choose>
+          <xsl:when test="string(number($href)) != 'NaN'"><link href="#{$href}">
        [<xsl:value-of select="$href"/>]
       </link>
-     </xsl:when>
-     <xsl:when test="contains($href,'.png') or contains($href,'.jpg') or contains($href,'.gif')">
-      <img src="{$href}" alt="{$href}"/>
-     </xsl:when>
-     <xsl:when test="contains($href,':') or contains($href,'.')">
-      <link href="{$href}">
-       <xsl:value-of select="$href"/>
-      </link>
-     </xsl:when>
-     <xsl:otherwise>
-      <link>
-       <xsl:attribute name="href">
+          </xsl:when>
+          <xsl:when test="contains($href,'.png') or contains($href,'.jpg') or contains($href,'.gif')">
+            <img src="{$href}" alt="{$href}"/>
+          </xsl:when>
+          <xsl:when test="contains($href,':') or contains($href,'.')"><link href="{$href}">
+            <xsl:value-of select="$href"/></link>
+          </xsl:when>
+          <xsl:otherwise><link>
+            <xsl:attribute name="href">
+              <xsl:choose>
+                <xsl:when test="$spaceless-filenames">
+                  <xsl:value-of select="concat(translate(translate($href, '&quot;', ''),' ',''),'.html')"/>
+                </xsl:when>
+                <xsl:otherwise>
+                  <xsl:value-of select="concat('view.do?page=',$href)"/>
+                </xsl:otherwise>
+              </xsl:choose>
+            </xsl:attribute>
+            <xsl:value-of select="translate($href, '&quot;','')"/></link>
+          </xsl:otherwise>
+        </xsl:choose>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="st:anchor" >
+    <p>
       <xsl:choose>
-       <xsl:when test="$spaceless-filenames">
-          <xsl:value-of select="concat(translate(translate($href, '&quot;', ''),' ',''),'.html')"/>
-       </xsl:when>
-       <xsl:otherwise>
-          <xsl:value-of select="concat('view.do?page=',$href)"/>
-       </xsl:otherwise>
+        <xsl:when test="contains(.,' ')">
+          <anchor id="substring-after(substring-before(.,' '),'[#')">
+            <xsl:value-of select="substring-before(substring-after(.,' '),']')"/>
+          </anchor>
+        </xsl:when>
+        <xsl:otherwise><em>
+          <xsl:value-of select="substring(.,3,string-length(.)-3)"/>:</em>
+          <anchor id="{substring(.,3,string-length(.)-3)}"/>
+        </xsl:otherwise>
       </xsl:choose>
-       </xsl:attribute>
-       <xsl:value-of select="translate($href, '&quot;','')"/>
-      </link>
-     </xsl:otherwise>
-    </xsl:choose>
-
-   </xsl:otherwise>
-  </xsl:choose>
- </xsl:template>
-
- <xsl:template match="st:anchor" >
-  <p>
-  <xsl:choose>
-   <xsl:when test="contains(.,' ')">
-    <anchor id="substring-after(substring-before(.,' '),'[#')">
-     <xsl:value-of select="substring-before(substring-after(.,' '),']')"/>
-    </anchor>
-   </xsl:when>
-   <xsl:otherwise>
-    <em><xsl:value-of select="substring(.,3,string-length(.)-3)"/>:</em>
-    <anchor id="{substring(.,3,string-length(.)-3)}"/>
-   </xsl:otherwise>
-  </xsl:choose>
-  </p>
- </xsl:template>
-
- <xsl:template match="st:comment">
- </xsl:template>
-
- <xsl:template match="st:ipara">
-   <strong>
-      <xsl:value-of select="st:textblock/st:text"/><xsl:text> </xsl:text>
-   </strong>
- </xsl:template>
-
- <xsl:template match="st:ulblock">
-  <xsl:value-of select="st:text"/><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:emblock">
-  <em><xsl:value-of select="st:text"/></em><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:strongblock">
-  <strong><xsl:value-of select="st:text"/></strong><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:supblock">
-  <sup><xsl:value-of select="st:text"/></sup><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:subblock">
-  <sub><xsl:value-of select="st:text"/></sub><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:codeblock">
-  <code><xsl:value-of select="st:text"/></code><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:alist1">
-   <xsl:apply-templates select="st:bulletedlist1"/>
-   <xsl:apply-templates select="st:letteredlist1"/>
-   <xsl:apply-templates select="st:numberedlist1"/>
-   <xsl:apply-templates select="st:romanlist1"/>
-   <xsl:apply-templates select="st:plainlist1"/>
- </xsl:template>
-
- <xsl:template match="st:alist2">
-   <xsl:apply-templates select="st:bulletedlist2"/>
-   <xsl:apply-templates select="st:letteredlist2"/>
-   <xsl:apply-templates select="st:numberedlist2"/>
-   <xsl:apply-templates select="st:romanlist2"/>
-   <xsl:apply-templates select="st:plainlist2"/>
- </xsl:template>
-
- <xsl:template match="st:alist3">
-   <xsl:apply-templates select="st:bulletedlist3"/>
-   <xsl:apply-templates select="st:letteredlist3"/>
-   <xsl:apply-templates select="st:numberedlist3"/>
-   <xsl:apply-templates select="st:romanlist3"/>
-   <xsl:apply-templates select="st:plainlist3"/>
- </xsl:template>
-
- <xsl:template match="st:bulletedlist1">
-  <ul>
-   <xsl:apply-templates select="st:bulletedlistitem1|st:alist2"/>
-  </ul>
- </xsl:template>
- 
- <xsl:template match="st:bulletedlistitem1" >
-   <li>
+    </p>
+  </xsl:template>
+  <xsl:template match="st:comment"></xsl:template>
+  <xsl:template match="st:ipara"><strong>
+    <xsl:value-of select="st:textblock/st:text"/>
+<xsl:text> </xsl:text></strong>
+  </xsl:template>
+  <xsl:template match="st:ulblock">
+    <xsl:value-of select="st:text"/>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:emblock"><em>
+    <xsl:value-of select="st:text"/></em>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:strongblock"><strong>
+    <xsl:value-of select="st:text"/></strong>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:supblock"><sup>
+    <xsl:value-of select="st:text"/></sup>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:subblock"><sub>
+    <xsl:value-of select="st:text"/></sub>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:codeblock"><code>
+    <xsl:value-of select="st:text"/></code>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:alist1">
+    <xsl:apply-templates select="st:bulletedlist1"/>
+    <xsl:apply-templates select="st:letteredlist1"/>
+    <xsl:apply-templates select="st:numberedlist1"/>
+    <xsl:apply-templates select="st:romanlist1"/>
+    <xsl:apply-templates select="st:plainlist1"/>
+  </xsl:template>
+  <xsl:template match="st:alist2">
+    <xsl:apply-templates select="st:bulletedlist2"/>
+    <xsl:apply-templates select="st:letteredlist2"/>
+    <xsl:apply-templates select="st:numberedlist2"/>
+    <xsl:apply-templates select="st:romanlist2"/>
+    <xsl:apply-templates select="st:plainlist2"/>
+  </xsl:template>
+  <xsl:template match="st:alist3">
+    <xsl:apply-templates select="st:bulletedlist3"/>
+    <xsl:apply-templates select="st:letteredlist3"/>
+    <xsl:apply-templates select="st:numberedlist3"/>
+    <xsl:apply-templates select="st:romanlist3"/>
+    <xsl:apply-templates select="st:plainlist3"/>
+  </xsl:template>
+  <xsl:template match="st:bulletedlist1">
+    <ul>
+      <xsl:apply-templates select="st:bulletedlistitem1|st:alist2"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:bulletedlistitem1" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:bulletedlist2" >
+    <ul>
+      <xsl:apply-templates select="st:bulletedlistitem2|st:alist3"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:bulletedlistitem2" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:bulletedlist3" >
+    <ul>
+      <xsl:apply-templates select="st:bulletedlistitem3"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:bulletedlistitem3" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist1">
+    <ol type="1">
+      <xsl:apply-templates select="st:numberedlistitem1|st:alist2"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem1" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist2" >
+    <ol type="1">
+      <xsl:apply-templates select="st:numberedlistitem2|st:alist3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem2" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist3" >
+    <ol type="1">
+      <xsl:apply-templates select="st:numberedlistitem3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem3" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:letteredlist1">
+    <ol type="a">
+      <xsl:apply-templates select="st:letteredlistitem1|st:alist2"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:letteredlistitem1" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:letteredlist2" >
+    <ol type="a">
+      <xsl:apply-templates select="st:letteredlistitem2|st:alist3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:letteredlistitem2" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:letteredlist3" >
+    <ol type="a">
+      <xsl:apply-templates select="st:letteredlistitem3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:letteredlistitem3" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:romanlist1">
+    <ol type="i">
+      <xsl:apply-templates select="st:romanlistitem1|st:alist2"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:romanlistitem1" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:romanlist2" >
+    <ol type="i">
+      <xsl:apply-templates select="st:romanlistitem2|st:alist3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:romanlistitem2" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:romanlist3" >
+    <ol type="i">
+      <xsl:apply-templates select="st:romanlistitem3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:romanlistitem3" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:plainlist1">
+    <ul>
+      <xsl:apply-templates select="st:plainlistitem1|st:alist2"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:plainlistitem1" >
+    <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
+  </xsl:template>
+  <xsl:template match="st:plainlist2" >
+    <ul>
+      <xsl:apply-templates select="st:plainlistitem2|st:alist3"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:plainlistitem2" >
     <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-   </li>
- </xsl:template>
- 
- <xsl:template match="st:bulletedlist2" >
-  <ul>
-   <xsl:apply-templates select="st:bulletedlistitem2|st:alist3"/>
-  </ul>
- </xsl:template>
-
- <xsl:template match="st:bulletedlistitem2" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:bulletedlist3" >
-  <ul>
-   <xsl:apply-templates select="st:bulletedlistitem3"/>
-  </ul>
- </xsl:template>
-    
- <xsl:template match="st:bulletedlistitem3" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
-
- <xsl:template match="st:numberedlist1">
-  <ol type="1">
-   <xsl:apply-templates select="st:numberedlistitem1|st:alist2"/>
-  </ol>
- </xsl:template>
-
- <xsl:template match="st:numberedlistitem1" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:numberedlist2" >
-  <ol type="1">
-   <xsl:apply-templates select="st:numberedlistitem2|st:alist3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:numberedlistitem2" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:numberedlist3" >
-  <ol type="1">
-   <xsl:apply-templates select="st:numberedlistitem3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:numberedlistitem3" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:letteredlist1">
-  <ol type="a">
-   <xsl:apply-templates select="st:letteredlistitem1|st:alist2"/>
-  </ol>
- </xsl:template>
-
- <xsl:template match="st:letteredlistitem1" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:letteredlist2" >
-  <ol type="a">
-   <xsl:apply-templates select="st:letteredlistitem2|st:alist3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:letteredlistitem2" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:letteredlist3" >
-  <ol type="a">
-   <xsl:apply-templates select="st:letteredlistitem3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:letteredlistitem3" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:romanlist1">
-  <ol type="i">
-   <xsl:apply-templates select="st:romanlistitem1|st:alist2"/>
-  </ol>
- </xsl:template>
-
- <xsl:template match="st:romanlistitem1" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:romanlist2" >
-  <ol type="i">
-   <xsl:apply-templates select="st:romanlistitem2|st:alist3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:romanlistitem2" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:romanlist3" >
-  <ol type="i">
-   <xsl:apply-templates select="st:romanlistitem3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:romanlistitem3" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:plainlist1">
-  <ul>
-   <xsl:apply-templates select="st:plainlistitem1|st:alist2"/>
-  </ul>
- </xsl:template>
-
- <xsl:template match="st:plainlistitem1" >
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
- </xsl:template>
-
- <xsl:template match="st:plainlist2" >
-  <ul>
-   <xsl:apply-templates select="st:plainlistitem2|st:alist3"/>
-  </ul>
- </xsl:template>
-    
- <xsl:template match="st:plainlistitem2" >
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
- </xsl:template>
-
- <xsl:template match="st:plainlist3" >
-  <ul>
-   <xsl:apply-templates select="st:plainlistitem3"/>
-  </ul>
- </xsl:template>
-    
- <xsl:template match="st:plainlistitem3" >
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
- </xsl:template>
-
- <xsl:template match="st:rulen" >
-    <p><xsl:apply-templates select="*"/></p>
- </xsl:template>
-
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
+  </xsl:template>
+  <xsl:template match="st:plainlist3" >
+    <ul>
+      <xsl:apply-templates select="st:plainlistitem3"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:plainlistitem3" >
+    <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
+  </xsl:template>
+  <xsl:template match="st:rulen" >
+    <p>
+      <xsl:apply-templates select="*"/>
+    </p>
+  </xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/pattern2link.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/pattern2link.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/pattern2link.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/pattern2link.xsl Mon Apr  9 21:57:55 2007
@@ -15,32 +15,22 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <xsl:stylesheet version="1.0" 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:lex="http://chaperon.sourceforge.net/schema/lexemes/2.0">
-
- <xsl:template match="lex:lexeme[@symbol='link']">
-  <a href="{@text}">
-   <xsl:value-of select="@text"/>
-  </a>
- </xsl:template>
-
- <xsl:template match="lex:lexeme[@symbol='email']">
-  <a href="mailto:{@text}">
-   <xsl:value-of select="lex:group[2]"/> at
-   <xsl:value-of select="lex:group[3]"/>
-  </a>
- </xsl:template>
-
- <xsl:template match="lex:lexeme[@symbol='cssurl']">
-  <a href="{lex:group[3]}"><xsl:value-of select="lex:group[1]"/></a>
- </xsl:template>
- 
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
+  <xsl:template match="lex:lexeme[@symbol='link']"><a href="{@text}">
+    <xsl:value-of select="@text"/></a>
+  </xsl:template>
+  <xsl:template match="lex:lexeme[@symbol='email']"><a href="mailto:{@text}">
+    <xsl:value-of select="lex:group[2]"/> at
+   <xsl:value-of select="lex:group[3]"/></a>
+  </xsl:template>
+  <xsl:template match="lex:lexeme[@symbol='cssurl']"><a href="{lex:group[3]}">
+    <xsl:value-of select="lex:group[1]"/></a>
+  </xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/quote2page.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/quote2page.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/quote2page.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/quote2page.xsl Mon Apr  9 21:57:55 2007
@@ -19,52 +19,50 @@
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                 xmlns:st="http://chaperon.sourceforge.net/schema/syntaxtree/2.0"
                 exclude-result-prefixes="st">
-
- <xsl:template match="st:output">
-  <document>
-   <header>
-    <title>Chaperon examples</title>
-    <tab title="back" href="."/>
-   </header>
-   <body>
-    <section>
-     <title>CSV Example</title>
-
-     <table cellpadding="3" border="1">
-      <xsl:apply-templates select="st:document/st:rows/st:row[1]" mode="title"/>
-      <xsl:apply-templates select="st:document/st:rows/st:row[position()>1]"/>
-     </table>
-    </section>
-   </body>
-  </document>
- </xsl:template>
-
- <xsl:template match="st:row" mode="title">
-  <tr>
-   <th>Line #</th>
-   <xsl:apply-templates select="st:column" mode="title"/>
-  </tr>
- </xsl:template>
-
- <xsl:template match="st:row">
-  <tr>
-   <td><xsl:value-of select="position()"/></td>
-   <xsl:apply-templates select="st:column"/>
-  </tr>
- </xsl:template>
-
- <xsl:template match="st:column" mode="title">
-  <th><xsl:value-of select="st:Value"/></th>
- </xsl:template>
-
- <xsl:template match="st:column">
-  <td><xsl:value-of select="st:Value"/></td>
- </xsl:template>
-
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
+  <xsl:template match="st:output">
+    <document>
+      <header>
+        <title>Chaperon examples</title>
+        <tab title="back" href="."/>
+      </header>
+      <body>
+        <section>
+          <title>CSV Example</title>
+          <table cellpadding="3" border="1">
+            <xsl:apply-templates select="st:document/st:rows/st:row[1]" mode="title"/>
+            <xsl:apply-templates select="st:document/st:rows/st:row[position()>1]"/>
+          </table>
+        </section>
+      </body>
+    </document>
+  </xsl:template>
+  <xsl:template match="st:row" mode="title">
+    <tr>
+      <th>Line #</th>
+      <xsl:apply-templates select="st:column" mode="title"/>
+    </tr>
+  </xsl:template>
+  <xsl:template match="st:row">
+    <tr>
+      <td>
+        <xsl:value-of select="position()"/>
+      </td>
+      <xsl:apply-templates select="st:column"/>
+    </tr>
+  </xsl:template>
+  <xsl:template match="st:column" mode="title">
+    <th>
+      <xsl:value-of select="st:Value"/>
+    </th>
+  </xsl:template>
+  <xsl:template match="st:column">
+    <td>
+      <xsl:value-of select="st:Value"/>
+    </td>
+  </xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/remove4class.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/remove4class.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/remove4class.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/remove4class.xsl Mon Apr  9 21:57:55 2007
@@ -15,36 +15,20 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <xsl:stylesheet version="1.0" 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:lex="http://chaperon.sourceforge.net/schema/lexer/2.0">
-
 <!-- <xsl:template match="lex:lexeme[@symbol='JAVADOCCOMMENT']">
  </xsl:template>-->
-
- <xsl:template match="lex:lexeme[@symbol='MULTILINECOMMENT']">
- </xsl:template>
-
- <xsl:template match="lex:lexeme[@symbol='SINGLELINECOMMENT']">
- </xsl:template>
-
- <xsl:template match="lex:lexeme[@symbol='WHITESPACE']">
- </xsl:template>
-
- <xsl:template match="lex:lexeme[@symbol='EOL']">
- </xsl:template>
-
- <xsl:template match="lex:lexeme[@symbol='SPACES']">
- </xsl:template>
-
- <xsl:template match="lex:lexeme[@symbol='TAB']">
- </xsl:template>
-
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
+  <xsl:template match="lex:lexeme[@symbol='MULTILINECOMMENT']"></xsl:template>
+  <xsl:template match="lex:lexeme[@symbol='SINGLELINECOMMENT']"></xsl:template>
+  <xsl:template match="lex:lexeme[@symbol='WHITESPACE']"></xsl:template>
+  <xsl:template match="lex:lexeme[@symbol='EOL']"></xsl:template>
+  <xsl:template match="lex:lexeme[@symbol='SPACES']"></xsl:template>
+  <xsl:template match="lex:lexeme[@symbol='TAB']"></xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4error.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4error.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4error.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4error.xsl Mon Apr  9 21:57:55 2007
@@ -15,24 +15,22 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <xsl:stylesheet version="1.0" 
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:xi="http://www.w3.org/2001/XInclude"
                 xmlns:text="http://chaperon.sourceforge.net/schema/text/1.0">
-
- <xsl:template match="source">
-  <xsl:if test="string-length(.)>0">
-   <source ref="{.}">
-    <text:text source="{.}" line="1" column="1"><xi:include href="{.}" parse="text"/></text:text>
-   </source>
-  </xsl:if>
- </xsl:template>
-
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
+  <xsl:template match="source">
+    <xsl:if test="string-length(.)>0">
+      <source ref="{.}">
+        <text:text source="{.}" line="1" column="1">
+          <xi:include href="{.}" parse="text"/>
+        </text:text>
+      </source>
+    </xsl:if>
+  </xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4javadoc.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4javadoc.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4javadoc.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4javadoc.xsl Mon Apr  9 21:57:55 2007
@@ -15,28 +15,25 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <xsl:stylesheet version="1.0" 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:lex="http://chaperon.sourceforge.net/schema/lexer/2.0"
     xmlns:text="http://chaperon.sourceforge.net/schema/text/1.0">
-
- <xsl:template match="lex:lexeme[@symbol='JAVADOC']">
-  <lex:lexeme symbol="JAVADOC">
-   <text:text><xsl:value-of select="substring(@text,3,string-length(@text)-3)"/></text:text>
-  </lex:lexeme>
- </xsl:template>
-
+  <xsl:template match="lex:lexeme[@symbol='JAVADOC']">
+    <lex:lexeme symbol="JAVADOC">
+      <text:text>
+        <xsl:value-of select="substring(@text,3,string-length(@text)-3)"/>
+      </text:text>
+    </lex:lexeme>
+  </xsl:template>
 <!-- <xsl:template match="lex:lexeme[@symbol='MULTILINECOMMENT']">
   <lex:lexeme symbol="MULTILINECOMMENT">
    <text:text><xsl:value-of select="substring(@text,2,string-length(@text)-2)"/></text:text>
   </lex:lexeme>
  </xsl:template>-->
-
   <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
     <xsl:copy>
       <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
     </xsl:copy>
   </xsl:template>
-
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4javadoc2.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4javadoc2.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4javadoc2.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4javadoc2.xsl Mon Apr  9 21:57:55 2007
@@ -15,32 +15,36 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <xsl:stylesheet version="1.0" 
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                 xmlns:st="http://chaperon.sourceforge.net/schema/syntaxtree/2.0"
                 xmlns:text="http://chaperon.sourceforge.net/schema/text/1.0">
-
- <xsl:template match="st:JAVADOC">
-  <xsl:variable name="text"><xsl:value-of select="."/></xsl:variable>
-  <text:text>
-   <xsl:if test="//st:output/@source">
-    <xsl:attribute name="source"><xsl:value-of select="//st:output/@source"/></xsl:attribute>
-   </xsl:if>
-   <xsl:if test="@line">
-    <xsl:attribute name="line"><xsl:value-of select="@line"/></xsl:attribute>
-   </xsl:if>
-   <xsl:if test="@column">
-    <xsl:attribute name="column"><xsl:value-of select="number(@column) + 2"/></xsl:attribute>
-   </xsl:if>
-   <xsl:value-of select="substring($text,3,string-length($text)-3)"/>
-  </text:text>
- </xsl:template>
-
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
+  <xsl:template match="st:JAVADOC">
+    <xsl:variable name="text">
+      <xsl:value-of select="."/>
+    </xsl:variable>
+    <text:text>
+      <xsl:if test="//st:output/@source">
+        <xsl:attribute name="source">
+          <xsl:value-of select="//st:output/@source"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@line">
+        <xsl:attribute name="line">
+          <xsl:value-of select="@line"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:if test="@column">
+        <xsl:attribute name="column">
+          <xsl:value-of select="number(@column) + 2"/>
+        </xsl:attribute>
+      </xsl:if>
+      <xsl:value-of select="substring($text,3,string-length($text)-3)"/>
+    </text:text>
+  </xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4regex.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4regex.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4regex.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/text4regex.xsl Mon Apr  9 21:57:55 2007
@@ -15,23 +15,20 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <xsl:stylesheet version="1.0" 
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:st="http://chaperon.sourceforge.net/schema/syntaxtree/2.0"
     xmlns:text="http://chaperon.sourceforge.net/schema/text/1.0"
     exclude-result-prefixes="st">
-
- <xsl:output encoding="ASCII"/>
-
- <xsl:template match="st:string">
-  <text:text><xsl:value-of select="substring(.,2,string-length(.)-2)"/></text:text>
- </xsl:template>
-
+  <xsl:output encoding="ASCII"/>
+  <xsl:template match="st:string">
+    <text:text>
+      <xsl:value-of select="substring(.,2,string-length(.)-2)"/>
+    </text:text>
+  </xsl:template>
   <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
     <xsl:copy>
       <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
     </xsl:copy>
   </xsl:template>
-
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/wiki2html.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/wiki2html.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/wiki2html.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/wiki2html.xsl Mon Apr  9 21:57:55 2007
@@ -19,9 +19,7 @@
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                 xmlns:st="http://chaperon.sourceforge.net/schema/syntaxtree/2.0"
                 xmlns="http://www.w3.org/1999/xhtml">
-
- <xsl:output indent="yes" method="html"/>
-
+  <xsl:output indent="yes" method="html"/>
 <!-- <xsl:template match="/">
   <xsl:choose>
    <xsl:when test="st:wiki">
@@ -39,149 +37,113 @@
    </xsl:otherwise>
   </xsl:choose>
  </xsl:template>-->
-
- <xsl:template match="//wiki">
-  <div style="background: #b9d3ee; border: thin; border-color: black; border-style: solid; padding-left: 0.8em; 
+  <xsl:template match="//wiki">
+    <div style="background: #b9d3ee; border: thin; border-color: black; border-style: solid; padding-left: 0.8em; 
                padding-right: 0.8em; padding-top: 0px; padding-bottom: 0px; margin: 0.5ex 0px; clear: both;">
-   <xsl:apply-templates select="paragraphs/paragraph"/>
-  </div>
- </xsl:template>
-
- <xsl:template match="st:paragraph" >
-  <xsl:apply-templates select="st:bulletedlist|st:numberedlist1|st:numberedlist2|st:numberedlist3|st:headitem|st:footnote|st:textitem|st:LINE"/>
- </xsl:template>
-
- <xsl:template match="st:textitem" >
-  <p>
-   <xsl:apply-templates select="st:firstblock|st:textblock"/>
-  </p>
- </xsl:template>
-
- <xsl:template match="st:textblock" >
-  <xsl:apply-templates select="st:LINK|st:boldblock|st:italicblock|st:underlineblock|st:TEXT|st:note"/>
- </xsl:template>
-
- <xsl:template match="st:firstblock" >
-  <xsl:apply-templates select="st:LINK|st:boldblock|st:italicblock|st:underlineblock|st:TEXT"/>
- </xsl:template>
-
- <xsl:template match="st:LINE" >
-  <hr/>
- </xsl:template>
-
- <xsl:template match="st:bulletedlist" >
-  <ul>
-   <xsl:apply-templates select="st:bulletedlistitem"/>
-  </ul>
- </xsl:template>
-
- <xsl:template match="st:bulletedlistitem" >
-  <li>
-   <xsl:apply-templates select="st:textblock"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:numberedlist1" >
-  <ol>
-   <xsl:apply-templates select="st:numberedlistitem1|st:numberedlist2"/>
-  </ol>
- </xsl:template>
-
- <xsl:template match="st:numberedlistitem1" >
-  <li>
-   <xsl:apply-templates select="st:textblock"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:numberedlist2" >
-  <ol>
-   <xsl:apply-templates select="st:numberedlistitem2|st:numberedlist3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:numberedlistitem2" >
-  <li>
-   <xsl:apply-templates select="st:textblock"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:numberedlist3" >
-  <ol>
-   <xsl:apply-templates select="st:numberedlistitem3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:numberedlistitem3" >
-  <li>
-   <xsl:apply-templates select="st:textblock"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:headitem" >
-  <xsl:choose>
-   <xsl:when test="string-length(st:HEAD)=2">
-    <h2>
-     <xsl:apply-templates select="st:textblock"/>
-    </h2>
-   </xsl:when>
-   <xsl:when test="string-length(st:HEAD)=3">
-    <h3>
-     <xsl:apply-templates select="st:textblock"/>
-    </h3>
-   </xsl:when>
-   <xsl:otherwise>
-    <h1>
-     <xsl:apply-templates select="st:textblock"/>
-    </h1>
-   </xsl:otherwise>
-  </xsl:choose>
- </xsl:template>
-
- <xsl:template match="st:footnote" >
-  <a name="{normalize-space(st:note/st:TEXT|st:note/st:LINK)}">
+      <xsl:apply-templates select="paragraphs/paragraph"/>
+    </div>
+  </xsl:template>
+  <xsl:template match="st:paragraph" >
+    <xsl:apply-templates select="st:bulletedlist|st:numberedlist1|st:numberedlist2|st:numberedlist3|st:headitem|st:footnote|st:textitem|st:LINE"/>
+  </xsl:template>
+  <xsl:template match="st:textitem" >
+    <p>
+      <xsl:apply-templates select="st:firstblock|st:textblock"/>
+    </p>
+  </xsl:template>
+  <xsl:template match="st:textblock" >
+    <xsl:apply-templates select="st:LINK|st:boldblock|st:italicblock|st:underlineblock|st:TEXT|st:note"/>
+  </xsl:template>
+  <xsl:template match="st:firstblock" >
+    <xsl:apply-templates select="st:LINK|st:boldblock|st:italicblock|st:underlineblock|st:TEXT"/>
+  </xsl:template>
+  <xsl:template match="st:LINE" >
+    <hr/>
+  </xsl:template>
+  <xsl:template match="st:bulletedlist" >
+    <ul>
+      <xsl:apply-templates select="st:bulletedlistitem"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:bulletedlistitem" >
+    <li><xsl:apply-templates select="st:textblock"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist1" >
+    <ol>
+      <xsl:apply-templates select="st:numberedlistitem1|st:numberedlist2"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem1" >
+    <li><xsl:apply-templates select="st:textblock"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist2" >
+    <ol>
+      <xsl:apply-templates select="st:numberedlistitem2|st:numberedlist3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem2" >
+    <li><xsl:apply-templates select="st:textblock"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist3" >
+    <ol>
+      <xsl:apply-templates select="st:numberedlistitem3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem3" >
+    <li><xsl:apply-templates select="st:textblock"/></li>
+  </xsl:template>
+  <xsl:template match="st:headitem" >
+    <xsl:choose>
+      <xsl:when test="string-length(st:HEAD)=2">
+        <h2>
+          <xsl:apply-templates select="st:textblock"/>
+        </h2>
+      </xsl:when>
+      <xsl:when test="string-length(st:HEAD)=3">
+        <h3>
+          <xsl:apply-templates select="st:textblock"/>
+        </h3>
+      </xsl:when>
+      <xsl:otherwise>
+        <h1>
+          <xsl:apply-templates select="st:textblock"/>
+        </h1>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="st:footnote" ><a name="{normalize-space(st:note/st:TEXT|st:note/st:LINK)}">
    [<xsl:apply-templates select="st:note/st:TEXT|st:note/st:LINK"/>]
-   <xsl:apply-templates select="st:textblock"/>
-  </a>
- </xsl:template>
-
- <xsl:template match="st:LINK" >
-  <a href="{normalize-space(.)}">
-   <xsl:value-of select="."/>
-  </a>
- </xsl:template>
-
- <xsl:template match="st:boldblock" >
-  <b>
-   <xsl:value-of select="st:TEXT"/>
-  </b>
- </xsl:template>
-
- <xsl:template match="st:italicblock" >
-  <i>
-   <xsl:value-of select="st:TEXT"/>
-  </i>
- </xsl:template>
-
- <xsl:template match="st:underlineblock" >
-  <u>
-   <xsl:value-of select="st:TEXT"/>
-  </u><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:note" >
-  <a href="#{normalize-space(st:TEXT|st:LINK)}">
+   <xsl:apply-templates select="st:textblock"/></a>
+  </xsl:template>
+  <xsl:template match="st:LINK" ><a href="{normalize-space(.)}">
+    <xsl:value-of select="."/></a>
+  </xsl:template>
+  <xsl:template match="st:boldblock" >
+    <b>
+      <xsl:value-of select="st:TEXT"/>
+    </b>
+  </xsl:template>
+  <xsl:template match="st:italicblock" >
+    <i>
+      <xsl:value-of select="st:TEXT"/>
+    </i>
+  </xsl:template>
+  <xsl:template match="st:underlineblock" >
+    <u>
+      <xsl:value-of select="st:TEXT"/>
+    </u>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:note" ><a href="#{normalize-space(st:TEXT|st:LINK)}">
    [<xsl:apply-templates select="st:TEXT|st:LINK"/>]
   </a>
- </xsl:template>
-
- <xsl:template match="st:TEXT" >
-  <xsl:value-of select="."/>
- </xsl:template>
-
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
+  </xsl:template>
+  <xsl:template match="st:TEXT" >
+    <xsl:value-of select="."/>
+  </xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/wiki2xdoc.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/wiki2xdoc.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/wiki2xdoc.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/wiki2xdoc.xsl Mon Apr  9 21:57:55 2007
@@ -19,337 +19,273 @@
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                 xmlns:st="http://chaperon.sourceforge.net/schema/syntaxtree/2.0"
                 exclude-result-prefixes="st">
-
- <xsl:output indent="yes" 
+  <xsl:output indent="yes" 
              method="html"
              doctype-public="-//APACHE//DTD Documentation V1.1//EN"
              doctype-system="document-v11.dtd"
              cdata-section-elements="source"/>
-
- <xsl:param name="name" select="''"/>
- <xsl:param name="spaceless-filenames" select="''"/>
-
- <xsl:template name="splitString">
+  <xsl:param name="name" select="''"/>
+  <xsl:param name="spaceless-filenames" select="''"/>
+  <xsl:template name="splitString">
     <xsl:param name="restOfString"/>
-    
     <xsl:variable name="uppercase">(ABCDEFGHIJKLMNOPQRSTUVWXYZ</xsl:variable>
     <xsl:variable name="currentLetter" select="substring($restOfString,1,1)"/>
-    
     <xsl:choose>
-        <xsl:when test="contains($restOfString, '(') or contains($restOfString,' ')">
-            <xsl:value-of select="$restOfString"/>
-        </xsl:when>
-        <xsl:when test="string-length($restOfString) &gt;= 2">
-        <!-- there's a possibility it needs to be split -->
+      <xsl:when test="contains($restOfString, '(') or contains($restOfString,' ')">
+        <xsl:value-of select="$restOfString"/>
+      </xsl:when>
+      <xsl:when test="string-length($restOfString) &gt;= 2">
+<!-- there's a possibility it needs to be split -->
         <xsl:choose>
-            <xsl:when test="contains($uppercase,$currentLetter)">
-                <xsl:variable name="followingLetter" select="substring($restOfString,2,1)"/>
-                <xsl:if test="not(contains($uppercase,$followingLetter))">
-                    <xsl:text> </xsl:text>
-                </xsl:if>
-                <xsl:value-of select="$currentLetter"/>
-                
-                <xsl:call-template name="splitString">
-                    <xsl:with-param name="restOfString" select="substring($restOfString,2)"/>
-                </xsl:call-template>
-            </xsl:when>
-            <xsl:otherwise>
-                <!-- current letter is lower-case - just spit it out -->
-                <xsl:value-of select="$currentLetter"/>
-                <xsl:call-template name="splitString">
-                    <xsl:with-param name="restOfString" select="substring($restOfString,2)"/>
-                </xsl:call-template>
-            </xsl:otherwise>
+          <xsl:when test="contains($uppercase,$currentLetter)">
+            <xsl:variable name="followingLetter" select="substring($restOfString,2,1)"/>
+            <xsl:if test="not(contains($uppercase,$followingLetter))">
+<xsl:text> </xsl:text>
+            </xsl:if>
+            <xsl:value-of select="$currentLetter"/>
+            <xsl:call-template name="splitString">
+              <xsl:with-param name="restOfString" select="substring($restOfString,2)"/>
+            </xsl:call-template>
+          </xsl:when>
+          <xsl:otherwise>
+<!-- current letter is lower-case - just spit it out -->
+            <xsl:value-of select="$currentLetter"/>
+            <xsl:call-template name="splitString">
+              <xsl:with-param name="restOfString" select="substring($restOfString,2)"/>
+            </xsl:call-template>
+          </xsl:otherwise>
         </xsl:choose>
-        </xsl:when>
-        <xsl:otherwise>
-        <!-- end of string - just write the remainder -->
+      </xsl:when>
+      <xsl:otherwise>
+<!-- end of string - just write the remainder -->
         <xsl:value-of select="$restOfString"/>
-        </xsl:otherwise>
+      </xsl:otherwise>
     </xsl:choose>
- </xsl:template>
-
-
-
- <xsl:template match="st:output">
-   <document>  
-    <header>  
-     <title>
-      <xsl:variable name="title" select="st:document/st:sections/st:section/st:title/st:textsequence"/>
-      <xsl:choose>
-       <!-- make this configurable: FOR-270
+  </xsl:template>
+  <xsl:template match="st:output">
+    <document>
+      <header>
+        <title><xsl:variable name="title" select="st:document/st:sections/st:section/st:title/st:textsequence"/>
+          <xsl:choose>
+<!-- make this configurable: FOR-270
        <xsl:when test="$title">
         <xsl:value-of select="$title"/>
        </xsl:when>
        -->
-       <xsl:when test="$name">
-        <xsl:call-template name="splitString">
-         <xsl:with-param name="restOfString" select="$name"/>
+            <xsl:when test="$name">
+              <xsl:call-template name="splitString">
+                <xsl:with-param name="restOfString" select="$name"/>
+              </xsl:call-template>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="$title"/>
+            </xsl:otherwise>
+          </xsl:choose></title>
+      </header>
+      <body>
+        <xsl:apply-templates select="st:document/st:paragraphs/st:paragraph/*" mode="paragraph"/>
+        <xsl:apply-templates select="st:document/st:subsubsections/st:subsubsection" mode="paragraph"/>
+        <xsl:apply-templates select="st:document/st:subsections/st:subsection" mode="paragraph"/>
+        <xsl:apply-templates select="st:document/st:sections/st:section"/>
+      </body>
+    </document>
+  </xsl:template>
+  <xsl:template match="st:section">
+    <section>
+      <title><xsl:value-of select="st:title/st:textsequence"/></title>
+      <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:subsections/st:subsection" mode="paragraph"/>
+    </section>
+  </xsl:template>
+  <xsl:template match="st:subsection" mode="paragraph">
+    <section>
+      <title><xsl:value-of select="st:subtitle/st:textsequence"/></title>
+      <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:subsubsections/st:subsubsection" mode="paragraph"/>
+    </section>
+  </xsl:template>
+  <xsl:template match="st:subsubsection" mode="paragraph">
+    <section>
+      <title><xsl:value-of select="st:subsubtitle/st:textsequence"/></title>
+      <xsl:apply-templates select="st:paragraphs/st:paragraph/*" mode="paragraph"/>
+    </section>
+  </xsl:template>
+  <xsl:template match="st:source" mode="paragraph">
+    <source>
+      <xsl:value-of select="substring(.,4,string-length(.)-6)"/>
+    </source>
+  </xsl:template>
+  <xsl:template match="st:textsequence" mode="paragraph">
+    <p>
+      <xsl:apply-templates select="st:textblock/*|st:break"/>
+    </p>
+  </xsl:template>
+  <xsl:template match="st:line" mode="paragraph">
+    <hr/>
+  </xsl:template>
+  <xsl:template match="st:table" mode="paragraph">
+    <table>
+      <xsl:apply-templates select="st:tablehead|st:tablerows/st:tablecolumns"/>
+    </table>
+  </xsl:template>
+  <xsl:template match="st:tablehead">
+    <tr>
+      <xsl:apply-templates select="st:tabletitle"/>
+    </tr>
+  </xsl:template>
+  <xsl:template match="st:tabletitle">
+    <th>
+      <xsl:apply-templates select="st:textblock/*"/>
+    </th>
+  </xsl:template>
+  <xsl:template match="st:tablecolumns">
+    <tr>
+      <xsl:apply-templates select="st:tablecolumn"/>
+    </tr>
+  </xsl:template>
+  <xsl:template match="st:tablecolumn">
+    <td>
+      <xsl:apply-templates select="st:textblock/*"/>
+    </td>
+  </xsl:template>
+  <xsl:template match="st:text">
+    <xsl:value-of select="."/>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:break">
+    <br/>
+  </xsl:template>
+  <xsl:template match="st:link">
+    <xsl:choose>
+      <xsl:when test="contains(.,'|')">
+        <xsl:variable name="href" select="substring-before(substring-after(.,'|'),']')"/>
+        <xsl:variable name="text" select="substring-after(substring-before(.,'|'),'[')"/>
+        <xsl:call-template name="convertLink">
+          <xsl:with-param name="href0" select="$href"/>
+          <xsl:with-param name="text" select="$text"/>
         </xsl:call-template>
-       </xsl:when>
-       <xsl:otherwise>
-        <xsl:value-of select="$title"/>
-       </xsl:otherwise>
-      </xsl:choose>
-     </title>  
-     </header>  
-    <body>
-  <xsl:apply-templates select="st:document/st:paragraphs/st:paragraph/*" mode="paragraph"/>  
-     <xsl:apply-templates select="st:document/st:subsubsections/st:subsubsection" mode="paragraph"/>
-     <xsl:apply-templates select="st:document/st:subsections/st:subsection" mode="paragraph"/>
-  <xsl:apply-templates select="st:document/st:sections/st:section"/>
-    </body>  
-   </document>
- </xsl:template>
-
- <xsl:template match="st:section">
-  <section>
-   <title><xsl:value-of select="st:title/st:textsequence"/></title>
-   <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:subsections/st:subsection" mode="paragraph"/>
-  </section>
- </xsl:template>
-
- <xsl:template match="st:subsection" mode="paragraph">
-  <section>
-   <title><xsl:value-of select="st:subtitle/st:textsequence"/></title>
-   <xsl:apply-templates select="st:paragraphs/st:paragraph/*|st:subsubsections/st:subsubsection" mode="paragraph"/>
-  </section>
- </xsl:template>
-
- <xsl:template match="st:subsubsection" mode="paragraph">
-  <section>
-   <title><xsl:value-of select="st:subsubtitle/st:textsequence"/></title>
-   <xsl:apply-templates select="st:paragraphs/st:paragraph/*" mode="paragraph"/>
-  </section>
- </xsl:template>
-
- <xsl:template match="st:source" mode="paragraph">
-  <source>
-   <xsl:value-of select="substring(.,4,string-length(.)-6)"/>
-  </source>
- </xsl:template>
-
- <xsl:template match="st:textsequence" mode="paragraph">
-  <p>
-   <xsl:apply-templates select="st:textblock/*|st:break"/>
-  </p>
- </xsl:template>
-
- <xsl:template match="st:line" mode="paragraph">
-  <hr/>
- </xsl:template>
-
- <xsl:template match="st:table" mode="paragraph"> 
-  <table>
-   <xsl:apply-templates select="st:tablehead|st:tablerows/st:tablecolumns"/>
-  </table>
- </xsl:template>
-
- <xsl:template match="st:tablehead"> 
-  <tr>
-   <xsl:apply-templates select="st:tabletitle"/>
-  </tr>
- </xsl:template>
-
- <xsl:template match="st:tabletitle">
-  <th>
-   <xsl:apply-templates select="st:textblock/*"/>
-  </th>
- </xsl:template>
-
- <xsl:template match="st:tablecolumns">
-  <tr>
-   <xsl:apply-templates select="st:tablecolumn"/>
-  </tr>
- </xsl:template>
-
- <xsl:template match="st:tablecolumn">
-  <td>
-   <xsl:apply-templates select="st:textblock/*"/>
-  </td>
- </xsl:template>
-
- <xsl:template match="st:text">
-  <xsl:value-of select="."/><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:break">
-  <br/>
- </xsl:template>
-
- <xsl:template match="st:link">
-  <xsl:choose>
-   <xsl:when test="contains(.,'|')">
-
-    <xsl:variable name="href" select="substring-before(substring-after(.,'|'),']')"/>
-    <xsl:variable name="text" select="substring-after(substring-before(.,'|'),'[')"/>
-
-	<xsl:call-template name="convertLink">
-	  <xsl:with-param name="href0" select="$href"/>
-	  <xsl:with-param name="text" select="$text"/>
-	</xsl:call-template>
-
-   </xsl:when>
-   <xsl:otherwise>
-    <xsl:variable name="href" select="substring(.,2,string-length(.)-2)"/>
-    
-	<xsl:call-template name="convertLink">
-	  <xsl:with-param name="href0" select="$href"/>
-	  <xsl:with-param name="text" select="$href"/>
-	</xsl:call-template>
-
-   </xsl:otherwise>
-  </xsl:choose>
- </xsl:template>
-
-
+      </xsl:when>
+      <xsl:otherwise>
+        <xsl:variable name="href" select="substring(.,2,string-length(.)-2)"/>
+        <xsl:call-template name="convertLink">
+          <xsl:with-param name="href0" select="$href"/>
+          <xsl:with-param name="text" select="$href"/>
+        </xsl:call-template>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
   <xsl:template name="convertLink" >
     <xsl:param name="href0"/>
     <xsl:param name="text"/>
-    
     <xsl:variable name="href">
       <xsl:value-of
 	select="normalize-space($href0)"/>
     </xsl:variable>
-
     <xsl:choose>
-     <xsl:when test="string(number($href)) != 'NaN'">
-      <link href="#{$href}">
-       <xsl:value-of select="$text"/>   <!-- $href -->
-      </link>
-     </xsl:when>
-     <xsl:when test="contains($href,'.png') or contains($href,'.jpg') or contains($href,'.gif')">
-      <img src="{$href}" alt="{$text}"/> <!-- $href -->
-     </xsl:when>
-     <xsl:when test="contains($href,':') or contains($href,'.')">
-      <link href="{$href}">
-       <xsl:value-of select="$text"/> <!-- $href -->
-      </link>
-     </xsl:when>
-     <xsl:otherwise>
-      <link>
-       <xsl:attribute name="href">
+      <xsl:when test="string(number($href)) != 'NaN'"><link href="#{$href}">
+        <xsl:value-of select="$text"/>
+<!-- $href --></link>
+      </xsl:when>
+      <xsl:when test="contains($href,'.png') or contains($href,'.jpg') or contains($href,'.gif')">
+        <img src="{$href}" alt="{$text}"/>
+<!-- $href -->
+      </xsl:when>
+      <xsl:when test="contains($href,':') or contains($href,'.')"><link href="{$href}">
+        <xsl:value-of select="$text"/>
+<!-- $href --></link>
+      </xsl:when>
+      <xsl:otherwise><link>
+        <xsl:attribute name="href">
+          <xsl:choose>
+            <xsl:when test="$spaceless-filenames">
+              <xsl:value-of select="concat(translate($href,' ',''),'.html')"/>
+            </xsl:when>
+            <xsl:otherwise>
+              <xsl:value-of select="concat('view.do?page=',$href)"/>
+            </xsl:otherwise>
+          </xsl:choose>
+        </xsl:attribute>
+        <xsl:value-of select="$text"/>
+<!-- $href --></link>
+      </xsl:otherwise>
+    </xsl:choose>
+  </xsl:template>
+  <xsl:template match="st:anchor" >
+    <p>
       <xsl:choose>
-       <xsl:when test="$spaceless-filenames">
-          <xsl:value-of select="concat(translate($href,' ',''),'.html')"/>
-       </xsl:when>
-       <xsl:otherwise>
-          <xsl:value-of select="concat('view.do?page=',$href)"/>
-       </xsl:otherwise>
+        <xsl:when test="contains(.,'|')">
+          <anchor id="{substring-before(substring-after(.,'|#'),']')}">
+            <xsl:value-of select="substring-after(substring-before(.,'|'),'[')"/>
+          </anchor>
+        </xsl:when>
+        <xsl:otherwise><em>
+          <xsl:value-of select="substring(.,3,string-length(.)-3)"/>:</em>
+          <anchor id="{substring(.,3,string-length(.)-3)}"/>
+        </xsl:otherwise>
       </xsl:choose>
-       </xsl:attribute>
-       <xsl:value-of select="$text"/> <!-- $href -->
-      </link>
-     </xsl:otherwise>
-    </xsl:choose>
+    </p>
+  </xsl:template>
+  <xsl:template match="st:emblock"><em>
+    <xsl:value-of select="st:text"/></em>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:strongblock"><strong>
+    <xsl:value-of select="st:text"/></strong>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:codeblock"><code>
+    <xsl:value-of select="st:text"/></code>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="st:bulletedlist1" mode="paragraph">
+    <ul>
+      <xsl:apply-templates select="st:bulletedlistitem1"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:bulletedlistitem1" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*|following-sibling::st:*[1][name() != 'bulletedlistitem1']"/></li>
+  </xsl:template>
+  <xsl:template match="st:bulletedlist2" >
+    <ul>
+      <xsl:apply-templates select="st:bulletedlistitem2"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:bulletedlistitem2" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*|following-sibling::st:*[1][name() != 'bulletedlistitem2']"/></li>
+  </xsl:template>
+  <xsl:template match="st:bulletedlist3" >
+    <ul>
+      <xsl:apply-templates select="st:bulletedlistitem3"/>
+    </ul>
+  </xsl:template>
+  <xsl:template match="st:bulletedlistitem3" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist1" mode="paragraph">
+    <ol>
+      <xsl:apply-templates select="st:numberedlistitem1"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem1" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*|following-sibling::st:*[1][name() != 'numberedlistitem1']"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist2" >
+    <ol>
+      <xsl:apply-templates select="st:numberedlistitem2"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem2" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*|following-sibling::st:*[1][name() != 'numberedlistitem2']"/></li>
+  </xsl:template>
+  <xsl:template match="st:numberedlist3" >
+    <ol>
+      <xsl:apply-templates select="st:numberedlistitem3"/>
+    </ol>
+  </xsl:template>
+  <xsl:template match="st:numberedlistitem3" >
+    <li><xsl:apply-templates select="st:textsequence/st:textblock/*"/></li>
+  </xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
   </xsl:template>
-
-
- <xsl:template match="st:anchor" >
-  <p>
-  <xsl:choose>
-   <xsl:when test="contains(.,'|')">
-    <anchor id="{substring-before(substring-after(.,'|#'),']')}">
-     <xsl:value-of select="substring-after(substring-before(.,'|'),'[')"/>
-    </anchor>
-   </xsl:when>
-   <xsl:otherwise>
-    <em><xsl:value-of select="substring(.,3,string-length(.)-3)"/>:</em>
-    <anchor id="{substring(.,3,string-length(.)-3)}"/>
-   </xsl:otherwise>
-  </xsl:choose>
-  </p>
- </xsl:template>
-
- <xsl:template match="st:emblock">
-  <em><xsl:value-of select="st:text"/></em><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:strongblock">
-  <strong><xsl:value-of select="st:text"/></strong><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:codeblock">
-  <code><xsl:value-of select="st:text"/></code><xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="st:bulletedlist1" mode="paragraph">
-  <ul>
-   <xsl:apply-templates select="st:bulletedlistitem1"/>
-  </ul>
- </xsl:template>
- 
- <xsl:template match="st:bulletedlistitem1" >
-   <li>
-    <xsl:apply-templates select="st:textsequence/st:textblock/*|following-sibling::st:*[1][name() != 'bulletedlistitem1']"/>
-   </li>
- </xsl:template>
- 
- <xsl:template match="st:bulletedlist2" >
-  <ul>
-   <xsl:apply-templates select="st:bulletedlistitem2"/>
-  </ul>
- </xsl:template>
-
- <xsl:template match="st:bulletedlistitem2" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*|following-sibling::st:*[1][name() != 'bulletedlistitem2']"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:bulletedlist3" >
-  <ul>
-   <xsl:apply-templates select="st:bulletedlistitem3"/>
-  </ul>
- </xsl:template>
-    
- <xsl:template match="st:bulletedlistitem3" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
-
- <xsl:template match="st:numberedlist1" mode="paragraph">
-  <ol>
-   <xsl:apply-templates select="st:numberedlistitem1"/>
-  </ol>
- </xsl:template>
-
- <xsl:template match="st:numberedlistitem1" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*|following-sibling::st:*[1][name() != 'numberedlistitem1']"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:numberedlist2" >
-  <ol>
-   <xsl:apply-templates select="st:numberedlistitem2"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:numberedlistitem2" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*|following-sibling::st:*[1][name() != 'numberedlistitem2']"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="st:numberedlist3" >
-  <ol>
-   <xsl:apply-templates select="st:numberedlistitem3"/>
-  </ol>
- </xsl:template>
-    
- <xsl:template match="st:numberedlistitem3" >
-  <li>
-   <xsl:apply-templates select="st:textsequence/st:textblock/*"/>
-  </li>
- </xsl:template>
-
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/xdoc2html.xsl
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/xdoc2html.xsl?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/xdoc2html.xsl (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/resources/chaperon/stylesheets/xdoc2html.xsl Mon Apr  9 21:57:55 2007
@@ -18,77 +18,70 @@
 <xsl:stylesheet version="1.0"
                 xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
                 xmlns:st="http://chaperon.sourceforge.net/schema/syntaxtree/2.0">
-
- <xsl:output indent="yes" 
+  <xsl:output indent="yes" 
              method="xml"/>
-
- <xsl:template match="//document">
+  <xsl:template match="//document">
 <!--  <div style="background: #b9d3ee; border: thin; border-color: black; border-style: solid; padding-left: 0.8em; 
               padding-right: 0.8em; padding-top: 0px; padding-bottom: 0px; margin: 0.5ex 0px; clear: both;">-->
-   <p>
-   <xsl:apply-templates select="body/p|body/section"/>
-   </p>
+    <p>
+      <xsl:apply-templates select="body/p|body/section"/>
+    </p>
 <!--  </div>-->
- </xsl:template>
-
- <xsl:template match="section">
-  <xsl:choose> <!-- stupid test for the hirachy deep -->
-   <xsl:when test="../../../section">
-    <h5><xsl:value-of select="title"/></h5>
-   </xsl:when>
-   <xsl:when test="../../section">
-    <h4><xsl:value-of select="title"/></h4>
-   </xsl:when>
-   <xsl:when test="../section">
-    <h3><xsl:value-of select="title"/></h3>
-   </xsl:when>
-  </xsl:choose>
-  <p>
-   <xsl:apply-templates select="*[name()!='title']"/>
-  </p>
- </xsl:template>
-
- <xsl:template match="source">
-  <div style="background: #b9d3ee; border: thin; border-color: black; border-style: solid; padding-left: 0.8em; 
+  </xsl:template>
+  <xsl:template match="section">
+    <xsl:choose>
+<!-- stupid test for the hirachy deep -->
+      <xsl:when test="../../../section">
+        <h5>
+          <xsl:value-of select="title"/>
+        </h5>
+      </xsl:when>
+      <xsl:when test="../../section">
+        <h4>
+          <xsl:value-of select="title"/>
+        </h4>
+      </xsl:when>
+      <xsl:when test="../section">
+        <h3>
+          <xsl:value-of select="title"/>
+        </h3>
+      </xsl:when>
+    </xsl:choose>
+    <p>
+      <xsl:apply-templates select="*[name()!='title']"/>
+    </p>
+  </xsl:template>
+  <xsl:template match="source">
+    <div style="background: #b9d3ee; border: thin; border-color: black; border-style: solid; padding-left: 0.8em; 
               padding-right: 0.8em; padding-top: 0px; padding-bottom: 0px; margin: 0.5ex 0px; clear: both;">
-  <pre>
-   <xsl:value-of select="."/>
-  </pre>
-  </div>
- </xsl:template>
-
- <xsl:template match="link">
-  <xsl:text> </xsl:text>
-  <a href="{@href}">
-   <xsl:apply-templates/>
-  </a>
-  <xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="strong">
-  <xsl:text> </xsl:text>
-  <b>
-   <xsl:apply-templates/>
-  </b>
-  <xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="anchor">
-  <a name="{@name}">
-   <xsl:apply-templates/>
-  </a>
- </xsl:template>
-
- <xsl:template match="table">
-  <table border="1" cellspacing="3" cellpadding="3">
-   <xsl:apply-templates/>
-  </table>
- </xsl:template>
-
- <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
-  <xsl:copy>
-   <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
-  </xsl:copy>
- </xsl:template>
-
+      <pre>
+        <xsl:value-of select="."/>
+      </pre>
+    </div>
+  </xsl:template>
+  <xsl:template match="link">
+<xsl:text> </xsl:text><a href="{@href}">
+    <xsl:apply-templates/></a>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="strong">
+<xsl:text> </xsl:text>
+    <b>
+      <xsl:apply-templates/>
+    </b>
+<xsl:text> </xsl:text>
+  </xsl:template>
+  <xsl:template match="anchor"><a name="{@name}">
+    <xsl:apply-templates/></a>
+  </xsl:template>
+  <xsl:template match="table">
+    <table border="1" cellspacing="3" cellpadding="3">
+      <xsl:apply-templates/>
+    </table>
+  </xsl:template>
+  <xsl:template match="@*|*|text()|processing-instruction()" priority="-1">
+    <xsl:copy>
+      <xsl:apply-templates select="@*|*|text()|processing-instruction()"/>
+    </xsl:copy>
+  </xsl:template>
 </xsl:stylesheet>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/index.xml?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/index.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/index.xml Mon Apr  9 21:57:55 2007
@@ -16,21 +16,22 @@
   limitations under the License.
 -->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-<document> 
-  <header> 
-    <title>Welcome to the org.apache.forrest.plugin.input.wiki Plugin</title> 
-  </header> 
-  <body> 
+<document>
+  <header>
+    <title>Welcome to the org.apache.forrest.plugin.input.wiki Plugin</title>
+  </header>
+  <body>
     <section>
       <title>Apache Forrest - org.apache.forrest.plugin.input.wiki Plugin</title>
-      <p>This plugin allows wiki markup from various wiki's to be
-      seemlessly embedded in an Apache Forrest site.</p>
-      
+      <p>
+        This plugin allows wiki markup from various wiki's to be seemlessly
+        embedded in an Apache Forrest site.
+      </p>
       <section>
         <title>Supported Wiki Formats</title>
-        
-        <p>The following wiki formats are supported:</p>
-        
+        <p>
+          The following wiki formats are supported:
+        </p>
         <ul>
           <li>MoinMoin, with files named *.moinwiki</li>
           <li>JSPWiki, with files named *.jspwiki (*.cwiki is supported for backwards-compatibility)</li>
@@ -38,4 +39,4 @@
       </section>
     </section>
   </body>
-</document>
\ No newline at end of file
+</document>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/samples/index.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/samples/index.xml?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/samples/index.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/samples/index.xml Mon Apr  9 21:57:55 2007
@@ -16,20 +16,20 @@
   limitations under the License.
 -->
 <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "http://forrest.apache.org/dtd/document-v20.dtd">
-<document> 
-  <header> 
-    <title>Wiki Plugin Samples</title> 
-  </header> 
-  <body> 
+<document>
+  <header>
+    <title>Wiki Plugin Samples</title>
+  </header>
+  <body>
     <section>
       <title>Wiki Plugin Samples</title>
-        
-        <p>The following wiki formats are supported:</p>
-        
-        <ul>
-          <li><a href="site:sample/moinwiki">MoinMoin</a></li>
-          <li><a href="site:sample/jspwiki">JSPWiki</a></li>
-        </ul>
+      <p>
+        The following wiki formats are supported:
+      </p>
+      <ul>
+        <li><a href="site:sample/moinwiki">MoinMoin</a></li>
+        <li><a href="site:sample/jspwiki">JSPWiki</a></li>
+      </ul>
     </section>
   </body>
 </document>

Modified: forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/site.xml
URL: http://svn.apache.org/viewvc/forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/site.xml?view=diff&rev=527028&r1=527027&r2=527028
==============================================================================
--- forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/site.xml (original)
+++ forrest/trunk/plugins/org.apache.forrest.plugin.input.wiki/src/documentation/content/xdocs/site.xml Mon Apr  9 21:57:55 2007
@@ -15,7 +15,6 @@
   See the License for the specific language governing permissions and
   limitations under the License.
 -->
-
 <!--
 Forrest site.xml
 
@@ -29,31 +28,26 @@
 
 See http://forrest.apache.org/docs/linking.html for more info
 -->
-
 <site label="moinmoin" href="" xmlns="http://apache.org/forrest/linkmap/1.0" tab="">
-
   <about label="About">
     <index label="Index" href="index.html" description="Welcome to moinmoin"/>
     <forrestPlugins label="Plugins Index" href="site:forrest/plugins" description="Index of Forrest Plugins"/>
     <changes label="Changes" href="changes.html" description="History of Changes" />
     <todo label="Todo" href="todo.html" description="Todo List" />
   </about>
-  
   <sample label="Samples" href="samples/" tab="samples">
     <jspwiki label="JSPWiki" href="jspwiki-sample.html" 
       description="Example of a JSPWiki syntax wiki page"/>
     <moinwiki label="MoinMoin Wiki" href="moin-sample.html" 
       description="Example of a MoinMoin Wiki syntax wiki page"/>
   </sample>
-
-  <!--
+<!--
   The href must be wholesite.html/pdf  You can change the labels and node names
   <all label="All">
     <whole_site_html label="Whole Site HTML" href="wholesite.html"/>
     <whole_site_pdf label="Whole Site PDF" href="wholesite.pdf"/>
   </all>
   -->
-
   <external-refs>
     <forrest href="http://forrest.apache.org/">
       <linking href="docs/linking.html"/>
@@ -63,5 +57,4 @@
       <plugins href="docs/plugins"/>
     </forrest>
   </external-refs>
-
 </site>



Mime
View raw message