OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are namespace declarations 'counted' as attributes?



> 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