views:

238

answers:

1

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?

A: 

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.