You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Joerg Heinicke <jo...@gmx.de> on 2005/02/22 00:47:55 UTC
Re: wml serialize
On 05.08.2004 06:03, Adriano Smith wrote:
> If i have to use a transform for generating wml content...then, what is the exact use of a wml serializer ?
The serializers are transforming the SAX events into bytes, which are
sent back to the clients. But the serializers must be fed with the
correct SAX events of course.
Joerg
>>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?
>>
>>Yes, you need to transform your html. The wml serializer won't turn your
>>html document into a wml one.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org