[
Lists Home |
Date Index |
Thread Index
]
At 3:55 PM +0200 8/22/02, Eric van der Vlist wrote:
>That's not fully accurate either since it's leading to think that global
>(qualified) attributes do not belong to their parent element which isn't
>true...
I see your point. Maybe what we need is
1. All attributes belong to their parent element.
2. No attribute (or anything else) belongs to a namespace.
3. The meaning of an unqualified attribute is determined exclusively
by the element to which it belongs (and that element's own context).
4. The meaning of a prefixed attribute is determined, in general,
both by the element to which it belongs and the attribute's global
definition, though in some cases it may be just one or the other.
--
+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@metalab.unc.edu | Writer/Programmer |
+-----------------------+------------------------+-------------------+
| XML in a Nutshell, 2nd Edition (O'Reilly, 2002) |
| http://www.cafeconleche.org/books/xian2/ |
| http://www.amazon.com/exec/obidos/ISBN%3D0596002920/cafeaulaitA/ |
+----------------------------------+---------------------------------+
| Read Cafe au Lait for Java News: http://www.cafeaulait.org/ |
| Read Cafe con Leche for XML News: http://www.cafeconleche.org/ |
+----------------------------------+---------------------------------+
|