On Tuesday 28 January 2003 17:27, [EMAIL PROTECTED] wrote: > Hi, > > I want to open 2 windows on one "event". The xml/xsp (I mean the data) > would be the same, but the output would be: first window html, second > window pdf. > > e.g. my "dummy" sitemap: > ... > <!-- on submit generate *.html and *.pdf output --> > <map:match pattern="html-pdf"> > <map:generate type="serverpages" src="html-pdf.xsp"/> > <!-- generate a window with html output > <map:transform src="html.xsl"/> > <map:serialize> > --> > <!-- generate another window with pdf output > <map:transform src="pdf.xsl"/> > <map:serialize type="fo2pdf"/> > --> > </map:match> > > How can I manage this? Can I mange this from my sitemap?
I am far from an expert, but it seems like you are asking for something impossible (there is only a single destination). However, by applying your HTML knowledge, you can have the first "html.xsl" generate a "OnLoad" and automatic popup (different URL) that brings the PDF document in a separate window on the client with the second HTTP request. Maybe not clear enough, understand? Niclas --------------------------------------------------------------------- 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]>