You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Adriano Smith <or...@sify.com> on 2004/08/04 13:50:54 UTC

wml serialize

I have a pipeline which contains the following:

<map:match pattern="*oly">
<map:generate type="html" src="http://x.com/y_oly.html"/>
     <map:serialize type="wml" mime-type="text/vnd.wap.wml"/>
    </map:match>

However when i view the source code of the file being generated , i find that there is no wml tag.

Is it necessary to use a stylesheet?? Is it not enough to use serialize type=wml to generate wml content?

regds,
smith













Re: wml serialize

Posted by de...@free.fr.
Quoting Adriano Smith <or...@sify.com>:

> I have a pipeline which contains the following:
>
> <map:match pattern="*oly">
> <map:generate type="html" src="http://x.com/y_oly.html"/>
>      <map:serialize type="wml" mime-type="text/vnd.wap.wml"/>
>     </map:match>
>
> However when i view the source code of the file being generated , i find that
> there is no wml tag.
>
> Is it necessary to use a stylesheet?? Is it not enough to use serialize
> type=wml to generate wml content?
>
> regds,
> smith
>

Yes, you need to transform your html. The wml serializer won't turn your html
document into a wml one.

regards,
defe

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org