aspose file tools
The moose likes XML and Related Technologies and the fly likes XSLT Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Reply Bookmark "XSLT" Watch "XSLT" New topic
Author

XSLT

Kritagya Malik
Greenhorn

Joined: Jun 19, 2001
Posts: 1
What all except IE5.0 , Tomcat server are needed to support and use XSLT ?
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

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

Take a Minute, Donate an Hour, Change a Life
http://www.ashanet.org/workanhour/2006/?r=Javaranch_ML&a=81
Ajith Kallambella
Sheriff

Joined: Mar 17, 2000
Posts: 5781
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.


Open Group Certified Master IT Architect.
Sun Certified Architect(SCEA).
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

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
manj ananda
Greenhorn

Joined: Jun 14, 2001
Posts: 16
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,

SCJP2, IBM XMLC, SCWCD
Madhav Lakkapragada
Ranch Hand

Joined: Jun 03, 2000
Posts: 5040

i assumed that we were discussing web applications
you know dynamically applying xsl templates like in www.zvon.org tutorials.
regds.
- satya
Mapraputa Is
Leverager of our synergies
Sheriff

Joined: Aug 26, 2000
Posts: 10065
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.


Uncontrolled vocabularies
"I try my best to make *all* my posts nice, even when I feel upset" -- Philippe Maquet
 
 
subject: XSLT
 
Threads others viewed
converting xml to html
xml transformation
converting xml to html
how to get the data stored in xml into html
Is Javaranch RSS Enabled?
developer file tools