Zein, 
hope you have a statement like that in the serializer section of your sitemap.
then the wml type serialization should work ...

---------------------
<map:serializer logger="sitemap.serializer.wml" mime-type="text/vnd.wap.wml" 
name="wml" src="org.apache.cocoon.serialization.XMLSerializer">
---------------------


> If I put the same file into ~/webapps/cocoon/test/
> and write the follwing lines into the sitemap, I receive an 
> empty document 
>  
> <map:match pattern="test/test.wml">
>   <map:generate src="test/test.wml"/>
>   <map:serialize type="wml"/>
> </map:match>
> 
> If I write
> 
> <map:match pattern="test/test.wml">
>   <map:generate src="test/test.wml"/>
>   <map:serialize type="html"/>
> </map:match>
> 
> I receive a file with my wml code. But of course of the html 
> serialization I
> haven't access to the file with a wap device only with a html browser.

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

Reply via email to