>could you please paste the other pipeline where

>cocoon://pear2/contact/registerTemplate.html is meant to be matching?

Hi Vica

This is what I'm thinking should happen.

cocoon://pear2/contact/registerTemplate.html

cuases a request which eventually hits the publication sitemap and matches

<map:match pattern="**">
<map:mount uri-prefix="" src="publication-sitemap.xmap"/>
</map:match>

The publication-sitemap then matches it with (below)

ah? Is the use of the page-envelope:document-url etc the problem. It looks
like my naieve use of cocoon://pear2/contact/registerTemplate.html just
won't work

Any ideas on the correct approach???

<map:match pattern="**.html">
<map:act type="language-exists">
<map:generate
src="cocoon:/lenyabody-view/{page-envelope:publication-id}/{page-envelope:ar
ea}/{page-envelope:document-type}{page-envelope:document-url}"/>
<map:match pattern="authoring/**.html">
<map:transform
src="cocoon://lenya-page/{page-envelope:publication-id}/{../../1}.xml?doctyp
e={page-envelope:document-type}"/>
</map:match>
<map:transform src="../../xslt/util/strip_namespaces.xsl"/>
<map:serialize type="html"/>
</map:act>
<!-- There is no version of the requested document-id for the
             requested language. -->
<map:generate type="serverpages"
src="../../content/exception/missing-language.xsp"/>
<map:transform src="../../xslt/exception/missing-language.xsl"/>
<map:call resource="style-cms-page"/>
</map:match>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to