[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Are namespace declarations 'counted' as attributes?
- From: Ronald Bourret <rpbourret@rpbourret.com>
- To: Rob Lugt <roblugt@elcel.com>
- Date: Tue, 27 Mar 2001 08:56:00 -0800
Two other points:
1) The two "real" attributes are entity1 and targetNamespace.
2) The answer to the question, "Are namespace declarations treated as
attributes?" depends on what technology you are using. As Rob pointed
out, the answer for SAX2 is yes or no, depending on how you configure
the parser, For SAX1 and DOM level 2 it is always yes. For the info set
it is no. I don't know what it is for XSLT, but I'll bet it is yes. I'm
pretty sure it is no for XML Schemas, but I can't remember.
--
Ronald Bourret
Programming, Writing, and Training
XML, Databases, and Schemas
http://www.rpbourret.com