Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Win a copy of
Helidon Revealed: A Practical Guide to Oracle’s Microservices Framework
this week in the
Java in General
forum!
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
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
paul wheaton
Liutauras Vilda
Ron McLeod
Sheriffs:
Jeanne Boyarsky
Devaka Cooray
Paul Clapham
Saloon Keepers:
Scott Selikoff
Tim Holloway
Piet Souris
Mikalai Zaikin
Frits Walraven
Bartenders:
Stephan van Hulst
Carey Brown
Forum:
XML and Related Technologies
JSP for transforming XML using XSL
Thomas Greene
Ranch Hand
Posts: 132
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
I am using XSL to transform XML to HTML.
TO specify the name of the XSL, I write the following code in my XML
<?xml-stylesheet type="text/xsl" href="abc.xsl"?>
Now suppose I want to apply a different XSL to the same XML, I have to make changes to this XML file.
Is there a way that I use a
JSP
page and in that page I load the XML and the coresponding XSL file and the output is displayed in the JSP page?
Thanks
Paul Clapham
Sheriff
Posts: 28344
97
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You can do the transformation on the server instead. (Your setup asks the browser to do the transformation.) Here's an article on how to use the JSTL XML tags to do that:
http://www.informit.com/articles/article.asp?p=30933&rl=1
Politics n. Poly "many" + ticks "blood sucking insects". Tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
JSP with XSL
including .htc / .css files
JSP with XSL
Dynamic XSL
JSP+XSL -> WML ??
More...