haul        01/11/26 01:50:38

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        Tag: cocoon_20_branch sitemap.xsl
  Log:
  Added <map:dump-parameters/> to print all currently known sitemap
  parameters tog. Great to debug sitemap + educational.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.11.2.38 +7 -1      
xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl
  
  Index: sitemap.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java/sitemap.xsl,v
  retrieving revision 1.11.2.37
  retrieving revision 1.11.2.38
  diff -u -r1.11.2.37 -r1.11.2.38
  --- sitemap.xsl       2001/11/14 22:44:45     1.11.2.37
  +++ sitemap.xsl       2001/11/26 09:50:38     1.11.2.38
  @@ -126,7 +126,7 @@
        *
        * @author &lt;a href="mailto:[EMAIL PROTECTED]"&gt;Giacomo Pati&lt;/a&gt;
        * @author &lt;a href="mailto:[EMAIL PROTECTED]"&gt;Berin Loritsch&lt;/a&gt;
  -     * @version CVS $Id: sitemap.xsl,v 1.11.2.37 2001/11/14 22:44:45 giacomo Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.11.2.38 2001/11/26 09:50:38 haul Exp $
        */
       public class <xsl:value-of select="@file-name"/> extends AbstractSitemap {
         static final String LOCATION = "<xsl:value-of select="translate(@file-path, 
'/', '.')"/>.<xsl:value-of select="@file-name"/>";
  @@ -1614,6 +1614,12 @@
         }
       </xsl:for-each>
     </xsl:template>
  +
  +  <!-- nice for debugging: print all kown sitemap parameters to log -->
  +  <xsl:template match="map:dump-parameters">
  +    this.dumpParameters(listOfMaps);
  +  </xsl:template>
  +
   
     <!-- this template is used to setup a individual sitemap component before putting 
it into a pipeline -->
     <xsl:template name="setup-component">
  
  
  

----------------------------------------------------------------------
In case of troubles, e-mail:     [EMAIL PROTECTED]
To unsubscribe, e-mail:          [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to