You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Virdi,T.J." <TV...@cerner.com> on 2000/10/23 19:32:39 UTC

XML conversion to WML, HTML using Cocoon

Is there a way to convert an XML string in a servlet to serve WML? I have a
servlet where I apply xsl stylesheet on a xml string (genererated using
xerces parser) using Xalan to produce html page. I would like to use the
same xml string in a servlet to serve WML file for PDA if the request
originated from wireless devices. Cocoon is available on this apache web
server but I am not sure how would I serve WML page for wireless devices. I
looked at the WAP example that comes with Cocoon but not sure how I could
apply stylesheet for WML on xml string generated in a servlet using cocoon
functionality. Any help or idea is highly appreciated. Thanks,
TJ