|
"For example, why not use a regular attribute on the root element to identify the "type" of the document, but without needing to propagate that attribute down to the child elements like a namespace. That would allow disambiguation while eliminating the scoping issues."
This is possible today with the proper Schema definitions and attributes. By defining only one top level element and using setting the schema attribute elementFormDefault='unqualified'. All other elements would be defined w/in the scope of the global element; the default serialization of your XML document would not require all of the namespace prefixes on the elements.
|