You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by fe...@apache.org on 2007/05/18 08:26:30 UTC
svn commit: r539285 - in
/cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF:
./ flow-webservices/ groovyflow/ intercepted-flow/ module-source/
xmodule-source/
Author: felixk
Date: Thu May 17 23:26:28 2007
New Revision: 539285
URL: http://svn.apache.org/viewvc?view=rev&rev=539285
Log:
reformatting ...
Modified:
cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/flow-webservices/sitemap.xmap
cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/groovyflow/sitemap.xmap
cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/intercepted-flow/sitemap.xmap
cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/module-source/sitemap.xmap
cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/sitemap.xmap
cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/xmodule-source/sitemap.xmap
Modified: cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/flow-webservices/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/flow-webservices/sitemap.xmap?view=diff&rev=539285&r1=539284&r2=539285
==============================================================================
--- cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/flow-webservices/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/flow-webservices/sitemap.xmap Thu May 17 23:26:28 2007
@@ -16,43 +16,43 @@
limitations under the License.
-->
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
- <!-- =========================== Views =================================== -->
- <map:views>
- <map:view from-label="content" name="content">
- <map:serialize type="xml"/>
- </map:view>
- <map:view from-label="content" name="pretty-content">
- <map:transform src="context://stylesheets/system/xml2html.xslt"/>
- <map:serialize type="html"/>
- </map:view>
- <map:view from-position="last" name="links">
- <map:serialize type="links"/>
- </map:view>
- </map:views>
- <!-- indicates what flowscript to attach to this sitemap -->
- <map:flow language="javascript">
- <map:script src="flowWebServices.js"/>
- </map:flow>
- <map:pipelines>
- <map:pipeline>
- <!--+
- | produces the screens called by the flowscript
- +-->
- <map:match pattern="page/*">
- <map:generate type="jx" src="{1}.jx"/>
- <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
- <map:parameter name="servletPath" value="{request:servletPath}"/>
- <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
- <map:parameter name="contextPath" value="{request:contextPath}"/>
- <map:parameter name="remove" value="{0}"/>
- </map:transform>
- <map:serialize/>
- </map:match>
- </map:pipeline>
- <map:pipeline>
- <map:match pattern="*">
- <map:call function="{1}"/>
- </map:match>
- </map:pipeline>
- </map:pipelines>
+ <!-- =========================== Views =================================== -->
+ <map:views>
+ <map:view from-label="content" name="content">
+ <map:serialize type="xml" />
+ </map:view>
+ <map:view from-label="content" name="pretty-content">
+ <map:transform src="context://stylesheets/system/xml2html.xslt" />
+ <map:serialize type="html" />
+ </map:view>
+ <map:view from-position="last" name="links">
+ <map:serialize type="links" />
+ </map:view>
+ </map:views>
+ <!-- indicates what flowscript to attach to this sitemap -->
+ <map:flow language="javascript">
+ <map:script src="flowWebServices.js" />
+ </map:flow>
+ <map:pipelines>
+ <map:pipeline>
+ <!--+
+ | produces the screens called by the flowscript
+ +-->
+ <map:match pattern="page/*">
+ <map:generate type="jx" src="{1}.jx" />
+ <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
+ <map:parameter name="servletPath" value="{request:servletPath}" />
+ <map:parameter name="sitemapURI" value="{request:sitemapURI}" />
+ <map:parameter name="contextPath" value="{request:contextPath}" />
+ <map:parameter name="remove" value="{0}" />
+ </map:transform>
+ <map:serialize />
+ </map:match>
+ </map:pipeline>
+ <map:pipeline>
+ <map:match pattern="*">
+ <map:call function="{1}" />
+ </map:match>
+ </map:pipeline>
+ </map:pipelines>
</map:sitemap>
Modified: cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/groovyflow/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/groovyflow/sitemap.xmap?view=diff&rev=539285&r1=539284&r2=539285
==============================================================================
--- cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/groovyflow/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/groovyflow/sitemap.xmap Thu May 17 23:26:28 2007
@@ -18,88 +18,88 @@
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
- <map:components>
- <map:transformers default="xslt">
- <map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer">
- <catalogues default="other">
- <catalogue id="other" name="OtherMessages" location="context://samples/blocks/forms/messages"/>
- <catalogue id="forms" name="FormsMessages" location="context://samples/blocks/forms/messages"/>
- </catalogues>
- <cache-at-startup>true</cache-at-startup>
- </map:transformer>
- </map:transformers>
- </map:components>
-
- <!-- indicates what flow classes to attach to this sitemap -->
- <map:flow language="groovy">
- <map:script src="flow/CalculatorFlow.gy"/>
- <map:script src="flow/FormFlow.gy"/>
- <map:script src="flow/PersistenceFlow.gy"/>
- </map:flow>
-
- <map:pipelines>
- <map:pipeline>
- <!--+
- | produces the screens called by the flowscript
- +-->
- <map:match pattern="page/*">
- <map:generate type="jx" src="../screens/{1}.xml"/>
- <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
- <map:parameter name="contextPath" value="{request:contextPath}"/>
- </map:transform>
- <map:serialize/>
- </map:match>
-
- <map:match pattern="form/*">
- <map:generate src="../forms/{1}-template.xml"/>
- <map:transform type="forms"/>
- <map:transform type="i18n">
- <map:parameter name="locale" value="en-US"/>
- </map:transform>
- <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
- <map:parameter name="contextPath" value="{request:contextPath}"/>
- </map:transform>
- <map:transform src="context://samples/blocks/forms/resources/forms-samples-styling.xsl"/>
- <map:serialize/>
- </map:match>
-
- </map:pipeline>
-
- <map:pipeline>
- <map:match pattern="">
- <map:generate src="samples.xml"/>
- <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
- <map:parameter name="contextPath" value="{request:contextPath}"/>
- </map:transform>
- <map:serialize/>
- </map:match>
-
- <!--+
- | matches the page with the continuation ID and calls the flowscript
- | associated to this sitemap with the given continuation ID. The flow
- | engine will then look into the continuation store, retrieve
- | the correct continuation and resume execution of the flowscript
- | with that continuation. This guarantees transparent state
- | resumption between requests without the need for anything else
- | (cookies or URL-encoded session IDs)
- +-->
- <map:match pattern="*.cont">
- <map:call continuation="{1}"/>
- </map:match>
-
- <!--+
- | matches the call to the beginning of the flow and calls the flow
- | from its entry point which, in this case is the 'calculator()'
- | javascript function.
- +-->
- <map:match pattern="*.do">
- <map:call function="{1}"/>
- </map:match>
-
- <map:match pattern="resources/**">
- <map:redirect-to uri="/samples/blocks/forms/resources/{1}"/>
- </map:match>
+ <map:components>
+ <map:transformers default="xslt">
+ <map:transformer name="i18n" src="org.apache.cocoon.transformation.I18nTransformer">
+ <catalogues default="other">
+ <catalogue id="other" name="OtherMessages" location="context://samples/blocks/forms/messages" />
+ <catalogue id="forms" name="FormsMessages" location="context://samples/blocks/forms/messages" />
+ </catalogues>
+ <cache-at-startup>true</cache-at-startup>
+ </map:transformer>
+ </map:transformers>
+ </map:components>
+
+ <!-- indicates what flow classes to attach to this sitemap -->
+ <map:flow language="groovy">
+ <map:script src="flow/CalculatorFlow.gy" />
+ <map:script src="flow/FormFlow.gy" />
+ <map:script src="flow/PersistenceFlow.gy" />
+ </map:flow>
+
+ <map:pipelines>
+ <map:pipeline>
+ <!--+
+ | produces the screens called by the flowscript
+ +-->
+ <map:match pattern="page/*">
+ <map:generate type="jx" src="../screens/{1}.xml" />
+ <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
+ <map:parameter name="contextPath" value="{request:contextPath}" />
+ </map:transform>
+ <map:serialize />
+ </map:match>
+
+ <map:match pattern="form/*">
+ <map:generate src="../forms/{1}-template.xml" />
+ <map:transform type="forms" />
+ <map:transform type="i18n">
+ <map:parameter name="locale" value="en-US" />
+ </map:transform>
+ <map:transform src="context://samples/common/style/xsl/html/complex-page2html.xsl">
+ <map:parameter name="contextPath" value="{request:contextPath}" />
+ </map:transform>
+ <map:transform src="context://samples/blocks/forms/resources/forms-samples-styling.xsl" />
+ <map:serialize />
+ </map:match>
+
+ </map:pipeline>
+
+ <map:pipeline>
+ <map:match pattern="">
+ <map:generate src="samples.xml" />
+ <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
+ <map:parameter name="contextPath" value="{request:contextPath}" />
+ </map:transform>
+ <map:serialize />
+ </map:match>
+
+ <!--+
+ | matches the page with the continuation ID and calls the flowscript
+ | associated to this sitemap with the given continuation ID. The flow
+ | engine will then look into the continuation store, retrieve
+ | the correct continuation and resume execution of the flowscript
+ | with that continuation. This guarantees transparent state
+ | resumption between requests without the need for anything else
+ | (cookies or URL-encoded session IDs)
+ +-->
+ <map:match pattern="*.cont">
+ <map:call continuation="{1}" />
+ </map:match>
+
+ <!--+
+ | matches the call to the beginning of the flow and calls the flow
+ | from its entry point which, in this case is the 'calculator()'
+ | javascript function.
+ +-->
+ <map:match pattern="*.do">
+ <map:call function="{1}" />
+ </map:match>
+
+ <map:match pattern="resources/**">
+ <map:redirect-to uri="/samples/blocks/forms/resources/{1}" />
+ </map:match>
- </map:pipeline>
- </map:pipelines>
+ </map:pipeline>
+ </map:pipelines>
</map:sitemap>
Modified: cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/intercepted-flow/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/intercepted-flow/sitemap.xmap?view=diff&rev=539285&r1=539284&r2=539285
==============================================================================
--- cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/intercepted-flow/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/intercepted-flow/sitemap.xmap Thu May 17 23:26:28 2007
@@ -18,54 +18,54 @@
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-<!-- =========================== Views =================================== -->
+ <!-- =========================== Views =================================== -->
- <map:views>
- <map:view from-label="content" name="content">
- <map:serialize type="xml"/>
- </map:view>
-
- <map:view from-label="content" name="pretty-content">
- <map:transform src="context://stylesheets/system/xml2html.xslt"/>
- <map:serialize type="html"/>
- </map:view>
-
- <map:view from-position="last" name="links">
- <map:serialize type="links"/>
- </map:view>
- </map:views>
-
- <!-- indicates what flowscript to attach to this sitemap -->
- <map:flow language="intercepted-javascript">
- <map:script src="basescript.js"/>
- </map:flow>
-
- <map:pipelines>
- <map:pipeline>
-
- <map:match pattern="*.js">
- <map:read src="{0}" mime-type="text/plain"/>
- </map:match>
-
- <!--+
- | produces the screens called by the flowscript
- +-->
- <map:match pattern="page/*">
- <map:generate src="screens/{1}.xml"/>
- <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
- <map:parameter name="servletPath" value="{request:servletPath}"/>
- <map:parameter name="sitemapURI" value="{request:sitemapURI}"/>
- <map:parameter name="contextPath" value="{request:contextPath}"/>
- <map:parameter name="remove" value="{0}"/>
- </map:transform>
- <map:serialize/>
- </map:match>
- </map:pipeline>
-
- <map:pipeline>
- <map:match pattern="">
- <map:call function="interceptionTest"/>
- </map:match>
- </map:pipeline>
- </map:pipelines>
+ <map:views>
+ <map:view from-label="content" name="content">
+ <map:serialize type="xml" />
+ </map:view>
+
+ <map:view from-label="content" name="pretty-content">
+ <map:transform src="context://stylesheets/system/xml2html.xslt" />
+ <map:serialize type="html" />
+ </map:view>
+
+ <map:view from-position="last" name="links">
+ <map:serialize type="links" />
+ </map:view>
+ </map:views>
+
+ <!-- indicates what flowscript to attach to this sitemap -->
+ <map:flow language="intercepted-javascript">
+ <map:script src="basescript.js" />
+ </map:flow>
+
+ <map:pipelines>
+ <map:pipeline>
+
+ <map:match pattern="*.js">
+ <map:read src="{0}" mime-type="text/plain" />
+ </map:match>
+
+ <!--+
+ | produces the screens called by the flowscript
+ +-->
+ <map:match pattern="page/*">
+ <map:generate src="screens/{1}.xml" />
+ <map:transform src="context://samples/common/style/xsl/html/simple-page2html.xsl">
+ <map:parameter name="servletPath" value="{request:servletPath}" />
+ <map:parameter name="sitemapURI" value="{request:sitemapURI}" />
+ <map:parameter name="contextPath" value="{request:contextPath}" />
+ <map:parameter name="remove" value="{0}" />
+ </map:transform>
+ <map:serialize />
+ </map:match>
+ </map:pipeline>
+
+ <map:pipeline>
+ <map:match pattern="">
+ <map:call function="interceptionTest" />
+ </map:match>
+ </map:pipeline>
+ </map:pipelines>
</map:sitemap>
Modified: cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/module-source/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/module-source/sitemap.xmap?view=diff&rev=539285&r1=539284&r2=539285
==============================================================================
--- cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/module-source/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/module-source/sitemap.xmap Thu May 17 23:26:28 2007
@@ -20,44 +20,44 @@
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
- <map:pipelines>
- <map:pipeline>
+ <map:pipelines>
+ <map:pipeline>
- <map:match pattern="test1">
- <map:generate type="text" src="module:request:requestURI"/>
- <map:transform src="context://stylesheets/system/xml2html.xslt"/>
- <map:serialize/>
- </map:match>
-
- <map:match pattern="test2">
- <map:generate src="form2.html"/>
- <map:serialize/>
- </map:match>
-
- <map:match pattern="test2-post">
- <map:generate type="text" src="module:request-param:text"/>
- <map:transform src="context://stylesheets/system/xml2html.xslt"/>
- <map:serialize/>
- </map:match>
-
- <!-- post an xml file to test3 with e.g.
- curl -T "test.xml" http://localhost:8888/samples/scratchpad/module-source/test3 -->
- <map:match pattern="test3">
- <map:generate src="module:request:inputStream"/>
- <map:serialize type="xml"/>
- </map:match>
-
- <map:match pattern="test4">
- <map:generate src="form4.html"/>
- <map:serialize/>
- </map:match>
-
- <map:match pattern="test4-post">
- <map:generate src="module:raw-request-param:text"/>
- <map:transform src="context://stylesheets/system/xml2html.xslt"/>
- <map:serialize/>
- </map:match>
+ <map:match pattern="test1">
+ <map:generate type="text" src="module:request:requestURI" />
+ <map:transform src="context://stylesheets/system/xml2html.xslt" />
+ <map:serialize />
+ </map:match>
+
+ <map:match pattern="test2">
+ <map:generate src="form2.html" />
+ <map:serialize />
+ </map:match>
+
+ <map:match pattern="test2-post">
+ <map:generate type="text" src="module:request-param:text" />
+ <map:transform src="context://stylesheets/system/xml2html.xslt" />
+ <map:serialize />
+ </map:match>
+
+ <!-- post an xml file to test3 with e.g.
+ curl -T "test.xml" http://localhost:8888/samples/scratchpad/module-source/test3 -->
+ <map:match pattern="test3">
+ <map:generate src="module:request:inputStream" />
+ <map:serialize type="xml" />
+ </map:match>
+
+ <map:match pattern="test4">
+ <map:generate src="form4.html" />
+ <map:serialize />
+ </map:match>
+
+ <map:match pattern="test4-post">
+ <map:generate src="module:raw-request-param:text" />
+ <map:transform src="context://stylesheets/system/xml2html.xslt" />
+ <map:serialize />
+ </map:match>
- </map:pipeline>
- </map:pipelines>
+ </map:pipeline>
+ </map:pipelines>
</map:sitemap>
Modified: cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/sitemap.xmap?view=diff&rev=539285&r1=539284&r2=539285
==============================================================================
--- cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/sitemap.xmap Thu May 17 23:26:28 2007
@@ -23,45 +23,45 @@
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
-<!-- =========================== Views =================================== -->
+ <!-- =========================== Views =================================== -->
- <map:views>
- <map:view from-label="content" name="content">
- <map:serialize type="xml"/>
- </map:view>
-
- <map:view from-label="content" name="pretty-content">
- <map:transform src="context://stylesheets/system/xml2html.xslt"/>
- <map:serialize type="html"/>
- </map:view>
-
- <map:view from-position="last" name="links">
- <map:serialize type="links"/>
- </map:view>
- </map:views>
-
-<!-- =========================== Pipelines ================================= -->
-
- <map:pipelines>
- <map:pipeline type="caching">
- <map:match pattern="">
- <map:redirect-to uri="welcome"/>
- </map:match>
-
- <!-- list of samples -->
- <map:match pattern="welcome">
- <map:generate src="scratchpad-samples.xml"/>
- <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
- <map:parameter name="contextPath" value="{request:contextPath}"/>
- </map:transform>
- <map:serialize/>
- </map:match>
-
- <!-- ======================== Automount =============================== -->
-
- <map:match pattern="*/**">
- <map:mount src="{1}/" uri-prefix="{1}"/>
- </map:match>
- </map:pipeline>
- </map:pipelines>
+ <map:views>
+ <map:view from-label="content" name="content">
+ <map:serialize type="xml" />
+ </map:view>
+
+ <map:view from-label="content" name="pretty-content">
+ <map:transform src="context://stylesheets/system/xml2html.xslt" />
+ <map:serialize type="html" />
+ </map:view>
+
+ <map:view from-position="last" name="links">
+ <map:serialize type="links" />
+ </map:view>
+ </map:views>
+
+ <!-- =========================== Pipelines ================================= -->
+
+ <map:pipelines>
+ <map:pipeline type="caching">
+ <map:match pattern="">
+ <map:redirect-to uri="welcome" />
+ </map:match>
+
+ <!-- list of samples -->
+ <map:match pattern="welcome">
+ <map:generate src="scratchpad-samples.xml" />
+ <map:transform src="context://samples/common/style/xsl/html/simple-samples2html.xsl">
+ <map:parameter name="contextPath" value="{request:contextPath}" />
+ </map:transform>
+ <map:serialize />
+ </map:match>
+
+ <!-- ======================== Automount =============================== -->
+
+ <map:match pattern="*/**">
+ <map:mount src="{1}/" uri-prefix="{1}" />
+ </map:match>
+ </map:pipeline>
+ </map:pipelines>
</map:sitemap>
Modified: cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/xmodule-source/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/xmodule-source/sitemap.xmap?view=diff&rev=539285&r1=539284&r2=539285
==============================================================================
--- cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/xmodule-source/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-scratchpad/cocoon-scratchpad-sample/src/main/resources/COB-INF/xmodule-source/sitemap.xmap Thu May 17 23:26:28 2007
@@ -20,34 +20,32 @@
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
- <map:flow language="javascript">
- <map:script src="xmodule.js"/>
- </map:flow>
+ <map:flow language="javascript">
+ <map:script src="xmodule.js" />
+ </map:flow>
- <map:pipelines>
- <map:pipeline>
+ <map:pipelines>
+ <map:pipeline>
- <map:match pattern="insert">
- <map:call function="insert">
- <map:parameter name="documentURI" value="{request-param:file}"/>
- <map:parameter name="outputAttributeURI"
- value="{request-param:url}#{request-param:xPathOut}"/>
- </map:call>
- </map:match>
+ <map:match pattern="insert">
+ <map:call function="insert">
+ <map:parameter name="documentURI" value="{request-param:file}" />
+ <map:parameter name="outputAttributeURI" value="{request-param:url}#{request-param:xPathOut}" />
+ </map:call>
+ </map:match>
- <map:match pattern="delete">
- <map:call function="deletePath">
- <map:parameter name="uri"
- value="{request-param:url}#{request-param:xPath}"/>
- </map:call>
- </map:match>
+ <map:match pattern="delete">
+ <map:call function="deletePath">
+ <map:parameter name="uri" value="{request-param:url}#{request-param:xPath}" />
+ </map:call>
+ </map:match>
- <map:match pattern="test-view">
- <map:generate src="{request-param:url}#{request-param:xPathIn}"/>
- <map:transform src="context://stylesheets/system/xml2html.xslt"/>
- <map:serialize/>
- </map:match>
+ <map:match pattern="test-view">
+ <map:generate src="{request-param:url}#{request-param:xPathIn}" />
+ <map:transform src="context://stylesheets/system/xml2html.xslt" />
+ <map:serialize />
+ </map:match>
- </map:pipeline>
- </map:pipelines>
+ </map:pipeline>
+ </map:pipelines>
</map:sitemap>