[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: How many passes through the document

Subject: Re: How many passes through the document
From: Ihe Onwuka <ihe.onwuka@xxxxxxxxxxxxxx>
Date: Mon, 24 Sep 2012 12:21:43 +0100
Re:  How many passes through the document
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

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.