• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

XSLT

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What all except IE5.0 , Tomcat server are needed to support and use XSLT ?
 
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

politically correct answer:
depends on what you want to do...
Having said that,
IE 5 and Tomcat are enough to get started with XSLT.
Ofcourse you do need to write your XML and XSL stylesheets.
For tutorials I would suggest www.zvon.org
regds.
- satya
 
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot emphasize more on not depending on browser compatibility for XML tranformations. Use XLST engine and do server-side transformations. Pass the resulting output file to the client across the network.
XML + XSL + Viewing the result in IE = Wrong Approach!!
XML + XSL ====> XSLT Engine =====> HTML
Viewing the HTML in ANY BROWSER = Right Approach

------------------
Ajith Kallambella M.
Sun Certified Programmer for the Java�2 Platform.
IBM Certified Developer - XML and Related Technologies, V1.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Ajith:
Could you please clarify on the "XSLT Engine" portion of your
second equation.
Is this what you are suggesting:
Create a JSP which reads an XML file and an XSL file,
processes them (using something like org.apache.xalan.xslt.XSLTProcessor)
and returns the output as HTML.
Did I read you right?
Thanks.
- satya
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why you need to code a JSP page? (of course you can do.. !)
If you have the xalan distribution(from apache), you have command line utility in the distribution,
To be exact you say
org.apache.xalan.xslt.Process -in <your xml> -xsl <your xsl> -out <output htmldoc>
[You have more options there]
Hope this helps you,
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

i assumed that we were discussing web applications
you know dynamically applying xsl templates like in www.zvon.org tutorials.
regds.
- satya
 
Leverager of our synergies
Posts: 10065
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
XSLT Engine, or XSLT processor, is a piece of software that interpret XSLT stylesheet. You absolutely need it to process your XML document with XSLT! IE has built-in XSLT processor, called MSXML. Your Tomcat server probably has some XSLT processor, like Xalan, installed, so it looks like you do not need anything besides IE or Tomcat to work with XSLT.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!