[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are namespace declarations 'counted' as attributes?
- From: Richard Tobin <richard@cogsci.ed.ac.uk>
- To: xml-dev@lists.xml.org
- Date: Tue, 27 Mar 2001 18:07:40 +0100 (BST)
> 2) The answer to the question, "Are namespace declarations treated as
> attributes?" depends on what technology you are using. [...]
> I don't know what it is for XSLT, but I'll bet it is yes.
It's no.
To be more precise, it's no in the XPath data model, which XSLT uses.
XPath section 5.3 says:
There are no attribute nodes corresponding to attributes that
declare namespaces
> I'm pretty sure it is no for XML Schemas, but I can't remember.
That's right.
-- Richard