Subject: Re: How many passes through the document
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Mon, 24 Sep 2012 12:09:53 +0100 (BST)
|
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.
Regards,
--
Florent Georges
http://fgeorges.org/
http://h2oconsulting.be/
|