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

  • To: xml-dev@l...
  • Subject: Why associate an attribute with a namespace ?
  • From: mihaiu@m...
  • Date: Wed, 16 Feb 2005 21:23:00 +0200
  • User-agent: Internet Messaging Program (IMP) 3.2.2


Hi,



            Attributes cannot exist without an element. If the element is
attached to a namespace then than should ensure that there will be no conflict
with other elements with a similar same name but from different namespaces.
Attributes cannot be accessed outside the context of elements. Since elements
are uniquely identified so are their attributes.
            Is there any logic for allowing this (like SGML compatibility) ?



Regards,
Razvan


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