OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Namespace: what's the correct usage?



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