The taglib URIs are not the same for 1.0 and 1.1. JSTL 1.0: http://java.sun.com/jstl/core http://java.sun.com/jstl/xml
JSTL 1.1: http://java.sun.com/jsp/jstl/core http://java.sun.com/jsp/jstl/xml AFAIK, 1.0 and 1.1 parse XML the same way. What may have changed is the way <x:forEach> is handled. For example, I think 1.1 uses Xalan as its XPath engine whereas 1.0 uses Jaxen/SAXPath. If possible, I guess you could try a more recent version of Xalan. Quoting Wim Goossens <[EMAIL PROTECTED]>: > When I use the 1.1 standard and jstl jars, it takes ages to > complete an xml parsing. With standard 1.0 I get an > immediate result (for 300 records, for 20 records there is no problem). > > What could i be doing wrong ? > > (i am using tomcat 5.0.18 , j2sdk1.4.2_03) > > This is my jsp code : > > <%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %> > <%@ taglib prefix="x" uri="http://java.sun.com/jstl/xml" %> > > ........ > > (jx.result is a string containing the xml to parse) > > <x:parse varDom="dom" xml="${requestScope['jx.result']}" /> > <x:forEach var="country" select="$dom/countrys/country"> > <x:set var="id" select="string($country/id/text())"/> > <x:set var="description" select="string($country/description/text())"/> > <x:set var="countrycode" select="string($country/countrycode/text())"/> > > ...... > > </x:forEach> > <c:remove var="dom"/> > > Regards, > Wim -- Kris Schneider <mailto:[EMAIL PROTECTED]> D.O.Tech <http://www.dotech.com/> --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]