Would this work on: <xsl:apply-templates select="document($variable_site_config)//page[@id=$id]"/>
would we have to use XSLT 2.0? Really cool by the way! Time to get back on the Xalan list :) best, -Rob ----- Original Message ----- From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: "Apache Xalan" <[EMAIL PROTECTED]> Sent: Thursday, February 21, 2002 12:53 PM Subject: Re: XSLT benchmarks: dbonerow > > "Robert Koberg" <[EMAIL PROTECTED]> wrote: > > Are you saying we can write something like: > > > > <xsl:apply-templates select="//page[@id=$id]"/> > > > > and it will be as fast as: > > > > <xsl:apply-templates select="key('pages_key', $id)"/> > > I'm saying, yes, that's what should happen. To be clear, it does not > happen currently in Xalan interpretive, or, to my knowledge, with XSLTC. > > -scott > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, email: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]