> From: Christian Schmitt [mailto:[EMAIL PROTECTED]] > > On Wed, Feb 06, 2002 at 03:26:54PM -0500, Vadim Gritsenko wrote: > > > From: Christian Schmitt [mailto:[EMAIL PROTECTED]] > > > > > > Hi all, > > > after further checking into our "challenge" here, > > > that's what we've found out: > > > > > > The changes to sitemap.xsl checked in recently checking the > > > pipeline rules, is what brings sitemap generation to a crawl. > > > > That's exactly what I was thinking after this email :) > > > > :) > > Vadim, > what seems to be the real killer is this construct: > > <xsl:for-each select=".//*[namespace-uri()=$ns > and (local-name()='generate' or local-name()='aggregate' or local- > name()='transform') > and not(ancestor::map:handle-errors)]"> > <xsl:if test="not(following::*[namespace-uri()=$ns > and (local-name()='serialize' or local-name()='call') > and not(ancestor::map:handle-errors)]/ancestor::map:pipeline[. = > $pipeline])"> > <xsl:call-template name="error"> > <xsl:with-param name="message">Sitemap pipeline with > map:generate|aggregate|transform must have map:serialize.</xsl:with-param> > </xsl:call-template> > </xsl:if> > </xsl:for-each> > > The <xsl:if test ......> </xsl:if> takes about one second for each > element found.
Cool! 8) > Now, not being the XSL guru, I have no idea how to make this faster > (besides commenting it out ;-) ). I also not so an expert in the XSLT performance tuning, so recommend you to comment out this snippet till you get interpreted sitemap engine working. Vadim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]