This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: JSP includes in XSLT


I guess I'm going to chime in on this.  The only performance hit that you
should see is the single call it takes to retrieve the include which
technically shouldn't be noticeable compared its counterpart.

In my experience, performance isn't really the issue.  The issue was
learning how to correctly write the include to accept parameters at runtime
in order to retrieve a result.


-->  -----Original Message-----
-->  From: sara.mitchell@ps.ge.com [mailto:sara.mitchell@ps.ge.com]
-->  Sent: Friday, July 12, 2002 11:47 AM
-->  To: xsl-list@lists.mulberrytech.com
-->  Subject: RE: [xsl] JSP includes in XSLT
-->  
-->  
-->  Unfortunately, <jsp:include> is interpreted
-->  differently than <% include %> (or at least 
-->  that was what I was told by JSP folks). The 
-->  <% %> version is a compile-time include but 
-->  <jsp:include> is run-time, so there are 
-->  performance issues with using the xml syntax. 
-->  
-->  Sara
-->  
-->  > -----Original Message-----
-->  > From: Guy McArthur [mailto:guym@guymcarthur.com]
-->  > Sent: Thursday, July 11, 2002 5:33 PM
-->  > To: xsl-list@lists.mulberrytech.com
-->  > Subject: Re: [xsl] JSP includes in XSLT
-->  > 
-->  > 
-->  > An option is to output the xml syntax for jsp 1.1/1.2:
-->  >  
-->  > E.g.
-->  >  
-->  > <?xml version="1.0"?>
-->  > <?xsl-stylesheet href="default.xsl"?>
-->  > <jsp:root 
-->  > xmlns:jsp="http://java.sun.com/products/jsp/dtd/jsp_1_0.dtd";>
-->  >     <jsp:directive.page import="java.io.*, java.util.*"/>
-->  >  
-->  > ...and so on... it is interpreted just like normal jsp.
-->  >  
-->  > --
-->  > Guy McArthur * email{guym@arizona.edu} 
-->  http{guymcarthur.com}      
-->  > 
-->  > 
-->  >  XSL-List info and archive:  
http://www.mulberrytech.com/xsl/xsl-list
> 

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]