Hi,
Our requirement is to use XML and XSLT for presentation.It is also required that even if the XSLT is not supported,our application should be able to display the content.To accomplish this do I have to code for both cases.Please let me know what is the best way of getting around this.
Thanks in advance
Suresh
-
With or Without XSLT (6 messages)
- Posted by: suresh done
- Posted on: April 22 2003 16:49 EDT
Threaded Messages (6)
- With or Without XSLT by Weston Aiken on April 22 2003 19:58 EDT
- With or Without XSLT by suresh done on April 23 2003 12:43 EDT
-
With or Without XSLT by Karthikeyan Balasubramaniam on April 24 2003 03:47 EDT
-
With or Without XSLT by suresh done on April 24 2003 01:58 EDT
- use data binding tool by Steve Vai on April 24 2003 04:07 EDT
- With or Without XSLT by Kiran Kumar on April 25 2003 03:28 EDT
-
With or Without XSLT by suresh done on April 24 2003 01:58 EDT
-
With or Without XSLT by Karthikeyan Balasubramaniam on April 24 2003 03:47 EDT
- With or Without XSLT by suresh done on April 23 2003 12:43 EDT
-
With or Without XSLT[ Go to top ]
- Posted by: Weston Aiken
- Posted on: April 22 2003 19:58 EDT
- in response to suresh done
Use XSLT on the server, that way you know its supported. -
With or Without XSLT[ Go to top ]
- Posted by: suresh done
- Posted on: April 23 2003 12:43 EDT
- in response to Weston Aiken
Can you be little elaborate -
With or Without XSLT[ Go to top ]
- Posted by: Karthikeyan Balasubramaniam
- Posted on: April 24 2003 03:47 EDT
- in response to suresh done
Use Apache Xerces to parse XML files, Apache Xalan to process XML files with designated XSL files to do the XML Transformation on the server and present only the html/wml/text to the end user.
Use Sun's JAXP to provide independent way for parsing and processing XML files.
More Info please refer
http://xml.apache.org/
http://java.sun.com/xml/ -
With or Without XSLT[ Go to top ]
- Posted by: suresh done
- Posted on: April 24 2003 13:58 EDT
- in response to Karthikeyan Balasubramaniam
Thank you guys for your valuable advice. Here is another requirement. We have to represent the output from mainframe(which comes in xml format) in the web browser.There is no web server or app server involved.How to deal a situation like this.
Thanks in advance
Suresh -
use data binding tool[ Go to top ]
- Posted by: Steve Vai
- Posted on: April 24 2003 16:07 EDT
- in response to suresh done
Use Xerces and Xalan as indicated by Bala. Then a tool like castor/JAXB (I like castor for its support of inheritence) data binding framework will capture the transformed output into a java bean which can be then used to display on your jsp. -
With or Without XSLT[ Go to top ]
- Posted by: Kiran Kumar
- Posted on: April 25 2003 03:28 EDT
- in response to suresh done
If I understand your requirement , you want to generate an html from an xml. And there is no server container, ie., you want to do the conversion offline.
XSLT can be applied to an XML whether or not you are using a server. Since there is no server involved, you might want to write a small converter tool which takes input XML (from mainframe in ur case) and generates the HTML with the help of pre-defined XSL.
Inside your tool you could use any XSLT processor like Xalan or XT etc. You can find many samples for doing this on the web. You might want to check
Xalan