| Author |
HELP!!! XML,XSLT!!!!!!!
|
neha gowda
Greenhorn
Joined: Feb 04, 2004
Posts: 23
|
|
Hi guys, I'm a java programmer but new to XML,XSLT. Now I'v to use XML for the presentation layer instead of JSP, as we use to do in our projects. I have basic knowledge of XML, XSL. Please help me how shd I begin to present the GUI in XML format. for example, I have to fetch some information from database(usind DAO) and present it in xml format. regards, Neha
|
 |
Lasse Koskela
author
Sheriff
Joined: Jan 23, 2002
Posts: 11962
|
|
The idea is that you don't present the GUI in XML format. The XML should ideally contain only data -- the XSL stylesheet includes the knowledge of what kind of HTML document to transform the XML into. A typical Servlet/XSL architecture looks like the following: 1) A servlet receives an HTTP request 2) A controller class of some sort performs its magic and returns an XML document 3) The servlet (or a servlet filter) runs the XML through XSL transformation 4) The browser receives the HTTP response containing an HTML page
|
Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
|
 |
 |
|
|
subject: HELP!!! XML,XSLT!!!!!!!
|
|
|