You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Alex <az...@otenet.gr> on 2004/02/10 10:57:06 UTC
Default publication's sitemap question
Hello to everyone
I was going through the default publication's publication-sitemap.xmap and I've got a question regarding the following snippet:
<map:match pattern="**.html">
<map:act type="language-exists">
<map:generate src="cocoon:/lenyabody-view/{page-envelope:publication-id}/{page-envelope:area}/{page-envelope:document-type}{page-envelope:document-url}"/>
<map:transform src="cocoon://lenya-page/{page-envelope:publication-id}/{../1}.xml"/>
<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>
I don't understand what the "<map:transform src="cocoon://lenya-page/{page-envelope:publication-id}/{../1}.xml"/>" does. As far as I know the cocoon://(text) causes the selection of a pipeline from the root sitemap matching part of the (text). In this case I can't find any pipeline matching the lenya-page part... Any ideas?
Re: Default publication's sitemap question
Posted by Alex <az...@otenet.gr>.
Thank you for pointing me at the right direction, sorry for the HTML format.
----- Original Message -----
From: "Andreas Hartmann" <an...@apache.org>
To: <le...@cocoon.apache.org>
Sent: Tuesday, February 10, 2004 12:06 PM
Subject: Re: Default publication's sitemap question
> Alex wrote:
>
> > I don't understand what the "<map:transform
> > src="cocoon://lenya-page/{page-envelope:publication-id}/{../1}.xml"/>"
> > does. As far as I know the cocoon://(text) causes the selection of a
> > pipeline from the root sitemap matching part of the (text). In this case
> > I can't find any pipeline matching the lenya-page part... Any ideas?
>
> http://cocoon.apache.org/lenya/docs/components/layout/lenya-menubar.html
>
> BTW, please don't send messages in HTML format to the list.
>
> HTH,
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-user-help@cocoon.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org
Re: Default publication's sitemap question
Posted by Andreas Hartmann <an...@apache.org>.
Alex wrote:
> I don't understand what the "<map:transform
> src="cocoon://lenya-page/{page-envelope:publication-id}/{../1}.xml"/>"
> does. As far as I know the cocoon://(text) causes the selection of a
> pipeline from the root sitemap matching part of the (text). In this case
> I can't find any pipeline matching the lenya-page part... Any ideas?
http://cocoon.apache.org/lenya/docs/components/layout/lenya-menubar.html
BTW, please don't send messages in HTML format to the list.
HTH,
-- Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-user-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-user-help@cocoon.apache.org