[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Namespace: what's the correct usage?
- From: Jonathan Borden <jborden@mediaone.net>
- To: Tim Bray <tbray@textuality.com>, xml-dev@lists.xml.org
- Date: Tue, 22 May 2001 10:38:12 -0400
Tim Bray wrote:
>
> At one level, what's going on in the following is pretty
> obvious and natural:
>
> <xx:family xmlns:xx="some-namespace">
> <address> ... </address>
> <children>
> <son>Rob</son>
> <daughter>Sally</daughter>
> </children>
> </xx:family>
>
[snip]
>
> I just don't see that the admirable simplicity of the
> first example above is quite pleasing enough to justify
> the cost, which is considerable. -Tim
>
Simple is good. To my eye this is even simpler:
<family xmlns="some-namespace">
<address> ... </address>
<children>
<son>Rob</son>
<daughter>Sally</daughter>
</children>
</family>
-Jonathan