Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: sorting and filtering oh my!

From: Pavel Lepin <p.lepin@-------.--->
To: NULL
Date: 10/3/2007 3:49:00 PM


Joe Kesselman <keshlam-nospam@c...> wrote in
<6JKdnQgjbOJwH57anZ2dnUVZ_u_inZ2d@c...>:
> Pavel Lepin wrote:
>> I'm probably missing your point, but the same applies to
>> template matches (which seems only natural to me, since
>> both xsl:for-each and xsl:apply-templates define an
>> ordering on the current node list when invoked with
>> xsl:sort).
> 
> Thought it might but hadn't checked, and depending on what
> the user wants to do that might involve using modes to
> distinguish the cases where the limit is to be checked
> from those where it shouldn't be.
> 
> As I said: XSLT is a programming language, so there are
> generally multiple reasonable solutions to any "how can I"
> question.

Joe Kesselman <keshlam-nospam@c...> wrote in
<6JKdnQsjbOLtHp7anZ2dnUVZ_u_inZ2d@c...>:
> (... Yes, I know, the "avoid for-each" philosophy. I'm not
> dogmatic about that.)

No, that wasn't my point in this case, actually. :-) It's
just that your explanation sounded (to me, at least) as if
position() takes ordering defined by xsl:sort into the
account only in context of xsl:for-each, so I wanted to
clarify that this applies whenever ordered current node
lists are involved.

-- 
It is rare to find learned men who are clean, do not stink,
and have a sense of humour. -- Liselotte in a letter to
Sophie, 30 Jul 1705


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