xsl-list
[Top] [All Lists]

Re: [xsl] How many passes through the document

2012-09-24 06:21:56
On Mon, Sep 24, 2012 at 12:09 PM, Florent Georges 
<lists(_at_)fgeorges(_dot_)org> 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.

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--