Hi , Has any one got a simple example for converting XML data using XSL and Displaying it through a servlet . I am running my servlet through JSWDK and am using Jdom , what else will i need for this ? Please Guide ... Thanks
Ajith Kallambella
Sheriff
Joined: Mar 17, 2000
Posts: 5781
posted
0
Have you seen the Cocoon framework?. Even if you are not willing to use a third-party tool, I suggest you take a look at how it is written. Perhaps you can imitate some of its excellent features. ------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
Open Group Certified Master IT Architect.
Sun Certified Architect(SCEA).
sunil mirani
Ranch Hand
Joined: Jan 24, 2001
Posts: 36
posted
0
Thanks Ajith,
Reeti Saha
Ranch Hand
Joined: Jun 26, 2001
Posts: 34
posted
0
Hi: I'm having similar kind of problem. I'm trying my XML Document to use a XSL to generate wml for displaying in a wap enabled browser. I'm trying to use Cocoon. I'm not able to configure the JavaWebSever2.0 to work with cocoon and hence can't work. Pls. Help. It's urgent. Thanks and Regards Reeti
Ajith Kallambella
Sheriff
Joined: Mar 17, 2000
Posts: 5781
posted
0
Reeti, I cannot give you a credible answer since I haven't used Cocoon with JWS myself. Why don't you checkout the Cocoon mailing lists? You can browse through the archives and see if a similar issue has been discussed before. You can also subscribe to the lists and post messages. Hope that helps! ------------------ Ajith Kallambella M. Sun Certified Programmer for the Java�2 Platform. IBM Certified Developer - XML and Related Technologies, V1.
sunil mirani
Ranch Hand
Joined: Jan 24, 2001
Posts: 36
posted
0
Hi reeti .. i am facing similiar problem .. can u tell me how i can .. configure xerces with the web server .. i want to use jdom in my servlets .. but i am not able to configure the webserver .. i guess i have to do something with the class path .. i have tried but it wont work ... one more thing .... have u got any code for XML - servlet ? or can u tell me where i could get some ? Thanks
Reeti Saha
Ranch Hand
Joined: Jun 26, 2001
Posts: 34
posted
0
Hi: If u r using JavaWebServer then u can put the xerces and xalan in the lib folder. Now add this two in the classpath keeping xerces before xalan. Hope that helps u. Will u pls. be specific as what u want to do in ur servlet? Whatever code I've written I've followed from the xerces sample programs. Hope that Helps. Reagards Reeti
subject: Displaying XML data through a servlet using XSL