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 HELP!!! XML,XSLT!!!!!!! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "HELP!!! XML,XSLT!!!!!!!" Watch "HELP!!! XML,XSLT!!!!!!!" New topic
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
    
    5
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]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HELP!!! XML,XSLT!!!!!!!
 
Similar Threads
Response xml-->XSLT -->output xml--> data binding
Html to database
Usage of Filters in Weblogic
Q for Dmitry Kirsanov : XSLT's value
Create XSLT from DTD's, a newie question