Re: the case of two bats

> Wait a minute.  The element names in this example are aDoc and a:bat.  The
> value of the xmlns attribute has no effect on what the element names are.
> It is used only in the uniqueness tests of Sec. 5.3 of the namespace spec.
> Even its use in XPath affects only expanded names, not element names.

Yes of course but with a namespace view of XML it is only the
expanded name that is important. Whether the XML element syntax
is a:bat or b:bat is just a syntactic difference along the same lines as
whether 2 or ' is used around attribute values.

The expanded names in the example become context sensitive.

David

Received on Monday, 22 May 2000 04:35:24 UTC