Re: [xsl] for-each performance question

Subject: Re: [xsl] for-each performance question
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Mon, 26 Jan 2009 14:37:31 -0500
I need to display all the profile information for the
student. This should be very simple but I want to make sure
it is as efficient as possible, as we could have a very large
number of people hitting the system at once. The xml is not
large but the number of users who will be looking at this
within a small time frame is very large.

What would be best (or is there a better way):


I would bet the fastest and and most memory efficient way of dealing with this is to use JAXB/Digester/etc to get instances of the student profile (if you really need to use XML for this relational type of data) and then use JSP for display. You could use XSL to *pre- generate* the JSP page(s) to bring in other XML content and layout.

If you must use XSL, then you will get better performance by using the latest Saxon and XSL 2.0.

best,
-Rob

Current Thread