giacomo     01/04/24 11:59:32

  Modified:    src/org/apache/cocoon/components/language/markup/sitemap/java
                        Tag: xml-cocoon2 sitemap.xsl
  Log:
  Made element attribute of map:part element in mapaggregate element optional
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.103 +3 -1      
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.102
  retrieving revision 1.1.2.103
  diff -u -r1.1.2.102 -r1.1.2.103
  --- sitemap.xsl       2001/04/24 16:16:26     1.1.2.102
  +++ sitemap.xsl       2001/04/24 18:59:31     1.1.2.103
  @@ -98,7 +98,7 @@
        *
        * @author <a href="mailto:[EMAIL PROTECTED]">Giacomo 
Pati</a>
        * @author <a href="mailto:[EMAIL PROTECTED]">Berin 
Loritsch</a>
  -     * @version CVS $Id: sitemap.xsl,v 1.1.2.102 2001/04/24 16:16:26 
bloritsch Exp $
  +     * @version CVS $Id: sitemap.xsl,v 1.1.2.103 2001/04/24 18:59:31 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"/>";
  @@ -999,6 +999,7 @@
           </xsl:with-param>
         </xsl:call-template>
       </xsl:if>
  +    <!--
       <xsl:if test="not (@element)">
         <xsl:call-template name="error">
           <xsl:with-param name="message">
  @@ -1006,6 +1007,7 @@
           </xsl:with-param>
         </xsl:call-template>
       </xsl:if>
  +    -->
       <xsl:choose>
         <xsl:when test="@ns">
           <xsl:value-of 
select="$ca"/>.addPart(substitute(listOfMaps,"<xsl:value-of select="@src"/>"), 
"<xsl:value-of select="@element"/>", "<xsl:value-of select="@ns"/>");
  
  
  

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