Hello, Thanks Jeremy for your reply. Well I changed the action of the form to map the pipeline that does the search and the results were displayed in a separate page.
Jeremy Quinn wrote: > > On Wednesday, July 3, 2002, at 01:54 PM, M Al-yahya wrote: > > > Hello, > > I'm doing XML Search using the SearchGenerator. I have the > > following in > > the sitemap pipeline: > > <map:match pattern="**findIt"> > > <map:generate type="search"/> > > <map:transform type="log"/> > > <map:transform src="stylesheets/search2html.xsl"/> > > <map:serialize/> > > </map:match> > > the stylesheet I'm using is the one in cocoon/search/stylesheets. This > > stylesheet displays the search form and the results in one page. Does > > anyone know how to display the results in a new browser page. > > > > Read up on forms at > http://www.w3.org/TR/html4/interact/forms.html#h-17.3 ;) > > Put a 'target' attribute in your 'form' tag, with the name of > the new window as the value. > > <form action="findIt" target="results"> > > <!-- your form fields --> > > </form> > > regards Jeremy > > --------------------------------------------------------------------- > 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]>