You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by ch...@apache.org on 2006/06/29 06:11:30 UTC
svn commit: r417938 - /lenya/trunk/src/modules/webdav/sitemap.xmap
Author: chestnut
Date: Wed Jun 28 21:11:29 2006
New Revision: 417938
URL: http://svn.apache.org/viewvc?rev=417938&view=rev
Log:
ability to preprocess PUT content with xslt
Modified:
lenya/trunk/src/modules/webdav/sitemap.xmap
Modified: lenya/trunk/src/modules/webdav/sitemap.xmap
URL: http://svn.apache.org/viewvc/lenya/trunk/src/modules/webdav/sitemap.xmap?rev=417938&r1=417937&r2=417938&view=diff
==============================================================================
--- lenya/trunk/src/modules/webdav/sitemap.xmap (original)
+++ lenya/trunk/src/modules/webdav/sitemap.xmap Wed Jun 28 21:11:29 2006
@@ -100,19 +100,15 @@
| you can do that here. This is the pipeline that will
| generate the input for the PUT method.
+ -->
-<!-- <map:match pattern="request/PUT/xml">
- <map:generate type="stream">
- <map:parameter name="defaultContentType" value="text/xml" />
- </map:generate>
- <map:act type="resource-exists" src="{fallback://lenya/modules/{page-envelope:document-type}/xslt/clean-{page-envelope:document-type}.xsl}">
+ <map:match pattern="request/PUT/*">
+ <map:act type="resource-exists" src="fallback://lenya/modules/{page-envelope:document-type}/xslt/clean-{page-envelope:document-type}.xsl">
+ <map:generate type="stream">
+ <map:parameter name="defaultContentType" value="text/xml" />
+ </map:generate>
<map:transform src="{fallback://lenya/modules/{page-envelope:document-type}/xslt/clean-{page-envelope:document-type}.xsl}"/>
+ <map:transform src="fallback://lenya/xslt/util/strip_namespaces.xsl"/>
+ <map:serialize type="xml" />
</map:act>
- <map:transform src="fallback://lenya/xslt/util/strip_namespaces.xsl"/>
- <map:serialize type="xml" />
- </map:match>-->
-
- <!-- Read the request for binaries PUT -->
- <map:match pattern="request/PUT/*">
<map:read type="request"/>
</map:match>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org