[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: XSL make .JSP call?

Subject: Re: XSL make .JSP call?
From: "andrew welch" <andrew.j.welch@xxxxxxxxx>
Date: Tue, 25 Apr 2006 16:59:26 +0100
javascript call jsp
On 4/25/06, Bruso, John <jbruso@xxxxxxxxxxxx> wrote:
> Can an XSL style sheet make a .jsp call?
>
> If so, how?
>
> I have an XSL document that renders from XML, but I need to include a
> file in the document. It's a complex javascript file. I'm using script
> src="{$themePath}/webtrends/sdc.js" type="text/javascript"><xsl:text>
> </xsl:text></script> right now, but it has to execute on the client, and
> is really slow. I thought if I could include the file in some other way,
> say JSP, I could improve the performance.
>
> Any advice would be helpful.

If the transforms are done server side make the result of the
transform a jsp that includes the javascript.

Alternatively, pass the javascript as a parameter and use that
directly, ymmv on that one....

Current Thread

Purchase Stylus Studio Online Today!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.