[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] How many passes through the document


Subject: Re: [xsl] How many passes through the document
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Mon, 24 Sep 2012 12:21:43 +0100

On Mon, Sep 24, 2012 at 12:09 PM, Florent Georges <lists@xxxxxxxxxxxx> wrote:
> Ihe Onwuka wrote:
>
>   Hi,
>
>>> Rather more importantly, your code is incorrect: because of the way
>>> it uses name(), it won't produce sensible answers when applied to a
>>> document that binds the same prefix to different namespaces (or has
>>> two different default namespaces in different regions of the
>>> document).  In 2.0, use node-name() instead.
>
>> is that saying that name() is deprecated?
>
>   No, that just says that name() does not do what you want.
>

Oh it does the job. I was tricked into doing someone's homework ;).

I think I get the difference. For me it's a language design thing but
then in a favourite language of mine I struggle bothering to remember
the difference between eq, eqv and equal.


Current Thread