cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stev...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components/language/markup/xsp/java util.xsl
Date Thu, 13 Mar 2003 14:13:08 GMT
stevenn     2003/03/13 06:13:08

  Modified:    src/java/org/apache/cocoon/components/language/markup/xsp/java
                        util.xsl
  Log:
  added a util:get-sitemap-parameter element to the util XSP logicsheet
  
  Revision  Changes    Path
  1.3       +11 -2     cocoon-2.1/src/java/org/apache/cocoon/components/language/markup/xsp/java/util.xsl
  
  Index: util.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/language/markup/xsp/java/util.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- util.xsl	11 Mar 2003 03:00:19 -0000	1.2
  +++ util.xsl	13 Mar 2003 14:13:08 -0000	1.3
  @@ -270,4 +270,13 @@
             String.valueOf(<xsl:copy-of select="$format"/>).trim())
       </xsp:expr>
     </xsl:template>
  +
  +  <!-- 
  +        Returns value of a sitemap parameter, null if that parameter is undeclared
  +        "name" attribute should be specified.
  +  -->
  +  <xsl:template match="util:get-sitemap-parameter">
  +    <xsp:expr>(parameters.getParameter("<xsl:value-of select="@name"/>", null))</xsp:expr>
  +  </xsl:template>
  +
   </xsl:stylesheet>
  
  
  

Mime
View raw message