You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Skip Carter <sk...@taygeta.com> on 2004/06/23 22:13:50 UTC

Re: Generating wml

> Is it possible for cocoon to generate two different wml codes, one in an opera browser and another in a wap emulator, for the same sitemap, xsl etc...
> 

Yes.  I do this by creating different entries in the name-useragent mapping in 
the sitemap
and then using that info in the stylesheet.

 <browser name="wap" useragent="Caph"/>
 <browser name="wapx" useragent="UP"/>





-- 
 Dr. Everett (Skip) Carter      Phone: 831-641-0645 FAX:  831-641-0647
 Taygeta Scientific Inc.        INTERNET: skip@taygeta.com
 1340 Munras Ave., Suite 314    WWW: http://www.taygeta.com
 Monterey, CA. 93940