cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vgritse...@apache.org
Subject cvs commit: xml-cocoon2/src/org/apache/cocoon/components/language/markup/sitemap/java sitemap.xsl
Date Sat, 08 Sep 2001 16:26:18 GMT
vgritsenko    01/09/08 09:26:18

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        sitemap.xsl
  Log:
  Patch from Jeorn Heid for selector inside resource
  
  Revision  Changes    Path
  1.39      +3 -2      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.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- sitemap.xsl	2001/09/08 03:31:22	1.38
  +++ sitemap.xsl	2001/09/08 16:26:18	1.39
  @@ -124,7 +124,7 @@
        *
        * @author <a href="mailto:giacomo@apache.org">Giacomo Pati</a>
        * @author <a href="mailto:bloritsch@apache.org">Berin Loritsch</a>
  -     * @version CVS $Id: sitemap.xsl,v 1.38 2001/09/08 03:31:22 vgritsenko Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.39 2001/09/08 16:26:18 vgritsenko 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"/>";
  @@ -181,7 +181,8 @@
             private boolean <xsl:value-of select="$type"/>Select (<xsl:value-of
select="XSLTFactoryLoader:getParameterSource($factory-loader, string($src),$config)"/>
pattern, Map objectModel, Parameters param) {
               <xsl:value-of select="XSLTFactoryLoader:getMethodSource($factory-loader,
string($src),$config)"/>
             }
  -          <xsl:for-each select="/map:sitemap/map:pipelines/map:pipeline/descendant::map:select[@type=$name
or (not(@type) and $default)]/map:when">
  +          <xsl:for-each select="/map:sitemap/map:pipelines/map:pipeline/descendant::map:select[@type=$name
or (not(@type) and $default)]/map:when
  +              | /map:sitemap/map:resources/map:resource/descendant::map:select[@type=$name
or (not(@type) and $default)]/map:when">
               <xsl:call-template name="line-number"/>
               <xsl:variable name="selector-name">
                 <xsl:call-template name="generate-name">
  
  
  

----------------------------------------------------------------------
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