[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|