cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl
Date Mon, 26 Nov 2001 09:50:38 GMT
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:giacomo@apache.org"&gt;Giacomo Pati&lt;/a&gt;
        * @author &lt;a href="mailto:bloritsch@apache.org"&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:     webmaster@xml.apache.org
To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-cvs-help@xml.apache.org


Mime
View raw message