How can I embed Java code in XSL? I want to call a Java object from my XSL file. This object will return HTML code. This HTML code will then become part of my XSL before it goes through XSLT. Is this possible or am I asking for too much?

Davanum Srinivas

Yes, it can be done. But is heavily dependent on the XSLT Engine. For example in Xalan (open source XSLT Engine from Apache) you can use Java or JavaScript in your XSL's.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact