Piotr, the "cocoon:" pseudo-protocol doesn't search for files, but for pipelines.
With this pseudo-protocol you can build pipelines and call them (more or less as subroutines) from any aggregation. Best regards, Luca Morandini [EMAIL PROTECTED] > -----Messaggio originale----- > Da: Piotr Legiecki [mailto:piotrlg@;sci.pam.szczecin.pl] > Inviato: giovedi 14 novembre 2002 13.53 > A: [EMAIL PROTECTED] > Oggetto: Difference between cocoon: and file:// in map:part > > > 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]> > We are protected from the virus by Norton Antivirus Corporate Edition --------------------------------------------------------------------- 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]>