in webapp/documentation/sitemap.xmap you'll find:

<map:match pattern="body-todo.xml">
 <map:generate type="file-nolabel" src="xdocs/todo.xml"/>
 <map:transform src="stylesheets/todo2document.xsl" label="content"/>
 <map:transform src="stylesheets/document2html.xsl"/>
 <map:serialize/>
</map:match>

which is pretty much what you're after I think.

Cheers,

Perry

----- Original Message ----- 
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 30, 2002 9:43 AM
Subject: RE: mutli-level stylesheets


> > From: Ethan Kennelly [mailto:[EMAIL PROTECTED]]
> > 
> > I've looked and looked for a way to apply multilevel styles sheets in
> > cocoon2 like I can in cocoon 1 using <xsl:processing-instruction
> > name="cocoon-process">, but can't find anything. My problem is I want
> to
> > have an xml file that uses an xsl file that has xsp processing in it
> and
> > uses another xsl file that has FOP instructions. Does anyone have any
> idea
> > how I can do this?
> 
> Look into webapp/sub/sitemap.xmap, spend some time there self-educating,
> and build on top of it.
> 
> Happy hacking,
> Vadim
> 
> 
> > Ethan Kennelly
> 
> 
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.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/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to