Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] Slow XSLT

From: Florent Georges <lists@------------>
To:
Date: 3/7/2008 2:47:00 PM
Andrew Welch wrote:

> On 07/03/2008, Cleyton Jordan wrote:

> >  1 - <xsl:variable name="teams"
> >  select="//team[not(.=preceding::team)]"/>

> [...]

> >  2 - Here we are inside a loop
> >  <xsl:template match="results">
> >   <xsl:for-each select="$teams">
> >     <xsl:variable name="this" select="."/>

> >  Again does "." match the value of each team or the
> >  whole team element?

> . is the string value of the current node, not the element
> itself

  I don't understand.  The dot operator is the current item,
in this case bound once for each team element in the
variable $team.  So in this case you can add the following
to the variable: as="element(team)".

  But there is no "matching" here.

  Regards,

--drkm



















      _____________________________________________________________________________ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent