aspose file tools*
The moose likes XML and Related Technologies and the fly likes Migrating Older Code to JAXP 1.2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Migrating Older Code to JAXP 1.2" Watch "Migrating Older Code to JAXP 1.2" New topic
Author

Migrating Older Code to JAXP 1.2

Josh Asbury
Greenhorn

Joined: Jan 02, 2003
Posts: 4
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!
Josh
[ October 13, 2003: Message edited by: Josh Asbury ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Migrating Older Code to JAXP 1.2