hi mathias, see below
> -----Ursprungliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Auftrag > von Mathias Wiegard > Gesendet: Freitag, 25. Juli 2003 17:47 > An: [EMAIL PROTECTED] > Betreff: Using internal reader pipeline to generate stream > > > Hi > I have the following problem: > I constructed a cocoon application with this structure: > / > /ts > /ts/content > /om > /om/content > > Now, I wanna use a xml file of /om/content to use it in the subsitemap of > /ts. > What I've done is that i defined a pipeline i the sitemap of /ts that if > someone is trying to reach ist subfolder /ts/om/ to get an xml > file, it will > be redirected to the sitemap of om, where a pipeline uses a reader to get > the file: > > <map:match pattern="om/**.xml"> > <map:redirect-to uri="cocoon://om/{1}.xml"/> > try the following instead: <map:match pattern="om/**.xml"> <map:generate src="cocoon://{0}"/> <map:serialize type="xml"/> </map:match > > No, I'm trying to use this on a pipeline like this: > <map:match pattern="index.html"> > <map:generate src="cocoon:/om/index.xml"/> > <map:transform src="style/blog2html.xsl"/> > <map:serialize/> > </map:match> > > I'm getting following error: > Streaming of an internal pipeline is not possible with a reader. > > Any hints or suggestions to solve this problem without copying om into ts? > Best regards, Mat > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]