Piotr, At http://xml.apache.org/cocoon/userdocs/concepts/sitemap.html you should find some answers to your questions.
Regards, Reinhard > -----Original Message----- > From: Piotr Legiecki [mailto:piotrlg@;sci.pam.szczecin.pl] > Sent: Thursday, November 14, 2002 1:53 PM > To: [EMAIL PROTECTED] > Subject: 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]> > --------------------------------------------------------------------- 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]>