[Home] [By Thread] [By Date] [Recent Entries]

  • From: Richard Tobin <richard@c...>
  • To: xml-dev@l...
  • 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

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member