cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject cvs commit: cocoon-2.1/src/blocks/webdav/samples/davmap/styles collection2propfind.xsl
Date Mon, 03 Nov 2003 08:38:55 GMT
unico       2003/11/03 00:38:55

  Modified:    src/blocks/webdav/samples/davmap/styles
                        collection2propfind.xsl
  Log:
  add missing properties
  
  Revision  Changes    Path
  1.3       +8 -3      cocoon-2.1/src/blocks/webdav/samples/davmap/styles/collection2propfind.xsl
  
  Index: collection2propfind.xsl
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/blocks/webdav/samples/davmap/styles/collection2propfind.xsl,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- collection2propfind.xsl	1 Nov 2003 14:12:30 -0000	1.2
  +++ collection2propfind.xsl	3 Nov 2003 08:38:55 -0000	1.3
  @@ -2,7 +2,6 @@
   <xsl:stylesheet version="1.0"
     xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
     xmlns:collection="http://apache.org/cocoon/collection/1.0"
  -  xmlns:ci="http://apache.org/cocoon/include/1.0"
     xmlns:D="DAV:">
     
     <xsl:param name="requestURI"></xsl:param>
  @@ -57,7 +56,11 @@
           <D:prop>
             <D:displayname><xsl:value-of select="@name"/></D:displayname>
             <D:getlastmodified><xsl:value-of select="@date"/></D:getlastmodified>
  -          <D:resourcetype><D:collection /></D:resourcetype>
  +          <D:creationdate />
  +          <D:resourcetype><D:collection/></D:resourcetype>
  +          <D:getcontenttype>httpd/unix-directory</D:getcontenttype>
  +          <D:contentlength>0</D:contentlength>
  +          <xsl:copy-of select="collection:properties/child::node()" />
           </D:prop>
           <D:status>HTTP/1.1 200 OK</D:status>
         </D:propstat>
  @@ -75,9 +78,11 @@
           <D:prop>
             <D:displayname><xsl:value-of select="@name"/></D:displayname>
             <D:getlastmodified><xsl:value-of select="@date"/></D:getlastmodified>
  -          <D:getcontenttype>text/xml</D:getcontenttype>
  +          <D:creationdate />
  +          <D:getcontenttype><xsl:value-of select="@mimeType"/></D:getcontenttype>
             <D:getcontentlength><xsl:value-of select="@size" /></D:getcontentlength>
             <D:resourcetype />
  +          <xsl:copy-of select="collection:properties/child::node()" />
           </D:prop>
           <D:status>HTTP/1.1 200 OK</D:status>
         </D:propstat>
  
  
  

Mime
View raw message