Categories
askquestion

Saxon Xalan JSP

Saxon Xalan JSP

Ask Question

Asked
11 years ago

Active
11 years ago

Viewed
584 times

.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{
margin-bottom:0;
}

0

I have a JSP which attaches a XSL to an XML document pulled from a database. The application is using the Saxon Parser but my XML needs to use the Xalan one. Can a JSP page override which parser to use?

java jsp tomcat saxon xalan

share|improve this question

edited Jan 20 ’09 at 11:02

asked Jan 20 ’09 at 10:35

JamesJames

add a comment
 | 

1 Answer
1

active

oldest

votes

0

Instead of using TransformerFactory which was using the default (Saxon) I am using the class TransformerFactoryImpl which is specfic to Xalan. All seems to be working.

share|improve this answer

answered Jan 20 ’09 at 11:44

JamesJames

add a comment
 | 

Your Answer

Thanks for contributing an answer to Stack Overflow!Please be sure to answer the question. Provide details and share your research!But avoid …Asking for help, clarification, or responding to other answers.Making statements based on opinion; back them up with references or personal experience.To learn more, see our tips on writing great answers.

Draft saved
Draft discarded

Sign up or log in

Sign up using Google

Sign up using Facebook

Sign up using Email and Password

Submit

Post as a guest

Name

Email
Required, but never shown

Post Your Answer

Discard

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Blog

When laziness is efficient: Make the most of your command line

Ben Popper is the worst coder in the world: Something awry with my array

Featured on Meta

TLS 1.0 and TLS 1.1 removal for Stack Exchange services

Did Stack Exchange cut the number of negative comments nearly in half between…

An account of my meeting with the Stack Overflow management team

Related

0JSP XALAN Example812What is the difference between JSF, Servlet and JSP?1661How to avoid Java code in JSP files?0Xalan problem with simple XSL trasformation2Unexpected behavior of xsl:apply-templates/xsl:with-param with Xalan-J and saxon compared to xsltproc7Using Xalan alongside Saxon3how to switch jasper reports from xalan to saxon?0Iterating over DOM Objects being returned by Java methods in XSLT3Replace Xalan with Saxon for XSL with Java-Extension0Using Saxon alongside Xalan

Hot Network Questions

How does Dredge work with drawing more than one card?

Simplifying constructing native SQL query with nested if-else’s

Why not save the queen by playing Qa5-a4?

How to explain that there can only be one magic portal between a planet and another

Why can’t Ditto copy eyes properly?

Was it possible to listen to music and work on old PCs? When was it possible to for the first time?

Strong exothermic mixing of two ‘safe’ liquids

Why don’t organs have weighted keys?

Hexagon column tessellation

Light task-processing systems with zero dependency for Linux systems

Could besieged medieval cities develop a micro-economy during wars to endure the siege for long time?

Did general purpose I/O controller chips come with fewer than 40 pins?

I have a 2nd broken spoke after 300km on a new bike, is it the wheel or me?

Create a matrix from the rows of another, and calculate the rank of the new matrix

Would all crew leave the ISS if one had a medical emergency?

Is it a doubling sequence?

How can Bloomberg become the Democratic nominee for President when he has not appeared on any primary ballot so far?

7zip : Why does encrypting the same file with AES-256 not give the same output?

Is it unethical for a professor to misrepresent the format of an exam?

Feasible and rational way to give food and water to a prisoner?

Can Harry Potter swim?

Can I use any route to get to my destination on national rail?

Help! Ransomware encrypted my files. What do I do now?

Could New Horizons take a “Pale Blue Dot”-like image this year?

more hot questions

Question feed

Subscribe to RSS

Question feed
To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

lang-java

Leave a Reply

Your email address will not be published. Required fields are marked *