giacomo     01/02/26 08:36:19

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        Tag: xml-cocoon2 sitemap.xsl
  Log:
  Added substitution of map values for the syntax:
  
     <something map:values="{var}"/>
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.82  +2 -2      
xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl
  
  Index: sitemap.xsl
  ===================================================================
  RCS file: 
/home/cvs/xml-cocoon/src/org/apache/cocoon/components/language/markup/sitemap/java/Attic/sitemap.xsl,v
  retrieving revision 1.1.2.81
  retrieving revision 1.1.2.82
  diff -u -r1.1.2.81 -r1.1.2.82
  --- sitemap.xsl       2001/02/21 13:59:46     1.1.2.81
  +++ sitemap.xsl       2001/02/26 16:36:16     1.1.2.82
  @@ -94,7 +94,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.1.2.81 2001/02/21 13:59:46 dims Exp 
$
  +     * @version CVS $Id: sitemap.xsl,v 1.1.2.82 2001/02/26 16:36:16 giacomo 
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"/>";
  @@ -889,7 +889,7 @@
   
     <!-- FIXME:(GP) is this still valid? -->
     <xsl:template match="map:param">
  -    param.setParameter ("<xsl:value-of select="@name"/>", "<xsl:value-of 
select="@map:value"/>");
  +    param.setParameter ("<xsl:value-of select="@name"/>", 
substitute(listOfMaps, "<xsl:value-of select="@map:value"/>"));
     </xsl:template>
   
     <!-- Sitemap Utility templates -->
  
  
  

Reply via email to