cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Coboos" <cromo...@gmx.net>
Subject CIncludeTransformer and sub sitemap?
Date Thu, 30 Oct 2003 17:39:43 GMT
Hello,

I'm using the CIncludeTransformer, to include a result of a pipeline into a
xml page.

The including file testinc.xml:
...
<element>
    <ci:include src="cocoon:/news"/>
</element>
...

The pipeline:

...
<map:match pattern="test">
    <map:generate src="testinc.xml"/>
    <map:transform type="cinclude"/>
    <map:serialize/>
</map:match>

<map:match pattern="news">
    <map:generate src="news.xml"/>
    <map:serialize/>
</map:match>
...

The described pipeline is part of a sub sitemap located in a subfolder
called "app":

$CATALINA_HOME/cocoon/app/sitemap.xmap

But when I call the uri http://localhost:8080/cocoon/app/test the
CIncludeTransformer searches in the sub sitemap for the pattern "app/test"
and not "test". Why? What can I do to solve this problem? I wont change all
my patterns from "x" to "app/x" because what happens if I will rename or
move the app folder?

Any ideas? Thank you!

Redards
Stephan



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message