File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Generating WML from XML Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "Generating WML from XML" Watch "Generating WML from XML" New topic
Author

Generating WML from XML

Reeti Saha
Ranch Hand

Joined: Jun 26, 2001
Posts: 34
Hi:
I've created a DOM tree which contains lots of data collected from database. Now I want to display this data in a WAP enabled phone. How can I create the wml using this DOM tree from a servlet.
Pls. help.
Manuel Palacio
Ranch Hand

Joined: Oct 16, 2000
Posts: 45
Hi you can use Xalan and a style sheet to transform the DOM tree.
So all you need now is to write such a style sheet.
Check also http://www.onjava.com/pub/a/onjava/2000/12/15/xslt_servlets.html
[This message has been edited by Manuel Palacio (edited July 03, 2001).]
[This message has been edited by Manuel Palacio (edited July 03, 2001).]


<a href="http://www.newinstance.net" target="_blank" rel="nofollow">http://www.newinstance.net</a>
 
 
subject: Generating WML from XML
 
Threads others viewed
Using WML & Java Bean in JSP
XML and JTree
Can we retrive XML data in JSP?
DOM Parser
looking for a blackberry WAP browser emulator for my desktop
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture