Hi
I'm new to cocoon and don't get the difference between map:part src
arguments:
....
map:part src="cocoon:/somefile.xml"
map:part src="cocoon:/anotherfile.xml"
....
means that cocoon should join two xml files (taken from some misterious
place)
But the same happens with this:
....
map:part src="somefile.xml"
map:part src="anotherfile.xml"
.....
which means take two files from filesystem which is clear to me.
In my example:
....
<map:pipeline>
<map:match pattern="">
<map:aggregate element="site">
<map:part src="content/menu.xml"/>
<map:part src="content/books.xml"/>
</map:aggregate>
<map:transform src="styles/simplemenu2html.xsl"/>
<map:serialize/>
</map:match>
</map:pipeline>
....
It works ok, but using
...
src="cocoon:content/menu.xml"
...
instead doesn't (ie the rendered html page is empty). *Why*?
BTW, where is map:aggregate component *fully* documented? In main user
documentation there is only one example and not all of the attributes
are explained (ie strip-root, ne etc).
Regards
Piotr Legiecki
---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faq/index.html>
To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>
- R: Difference between cocoon: and file:// in map:part Piotr Legiecki
- R: Difference between cocoon: and file:// in map:part Luca Morandini
- Re: R: Difference between cocoon: and file:// in m... Piotr Legiecki
- RE: R: Difference between cocoon: and file:// ... Reinhard Poetz
- Re: R: Difference between cocoon: and file... Piotr Legiecki
- RE: R: Difference between cocoon: and... Reinhard Poetz
- R: R: Difference between cocoon: and file:// i... Luca Morandini
- RE: Difference between cocoon: and file:// in map:part Reinhard Poetz