Subject: Re: Answers to review questions in "Beginning XSLT": Chapter 7
From: Jeni Tennison <jeni@xxxxxxxxxxxxxxxx>
Date: Mon, 17 Mar 2003 17:40:05 +0000
|
Hi Lars,
>> It doesn't matter what prefix was actually used on the element,
>> only what prefixes are declared for the element's namespace.
>
> This makes sense; but then don't you think the definition on p. 247
> is a bit misleading?
>
> "name() returns the full name of the element or attribute as given
> in the source document, including the prefix if there is one."
Yes. In the book, I very occasionally simplify things to make them
easier to understand. When you start asking questions here, you
deserve to get the full story.
Cheers,
Jeni
---
Jeni Tennison
http://www.jenitennison.com/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|