Dwayne Kemp wrote:
> 
> I need to execute an xsp page without a stylesheet. this file is used for
> redirecting the client to a particular page
> 
> i tried
> 
> <map:match pattern="valid.xml">
>         <map:generate type="serverpages" src="valid.xsp"/>
>         <map:serialize src="xml"/>
> </map:match>
> 
> and
> 
> <map:match pattern="valid.xml">
>         <map:generate type="serverpages" src="valid.xsp"/>
>         <map:serialize type="xml"/>
> </map:match>
> 
> and the browser throws document contained no data.
> how do i tell cocoon to process this file without the stylesheet?

What browser do you use? With serializer type="xml" the output from
Cocoon has mime-type text/xml. Different webbrowsers react differently
to such pages.
Further, to my knowledge there is no special serializer for XHTML, you
can use the HTML serializer or the XML serializer or write your own
serializer :-). Also if you feel changes to your sitemap are ignored, it
may be nessecary to restart your servlet engine (for example Tomcat) to
reload the sitemap.

Greetz
Martijn Bouterse

---------------------------------------------------------------------
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