This week's giveaway is in the Threads forum.
We're giving away four copies of Java Concurrency Live Lessons and have Doug Schmidt on-line!
See this thread for details.
Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Migrating Older Code to JAXP 1.2  RSS feed

Josh Asbury
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all -
I am working on getting our JDK 1.3-based web application upgraded to JDK 1.4.2 and have run into a bit of trouble with our old Xalan calls.
Here's the code (snipped for brevity):

What are the replacements for StylesheetRoot, XSLTInputSource, setStylesheetParam, et. al? Do I have to completely re-write this using TransformerFactory? If so, do you have any suggestions on the best way to go about it?
I have scoured the web trying to get this to work (or to find any information on what to do with these evidently obsolete classes) and have come up empty handed. This code works like a champ under JDK 1.3 and Tomcat 3.x.
Thanks for any insights!
[ October 13, 2003: Message edited by: Josh Asbury ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!