Re: xmlns attribute namespace

John,

----- Original Message -----
From: "John Cowan" <jcowan@reutershealth.com>

>  > This seems to be saying that the <book> "title" attribute takes on
>  > the default namespace of "book".
>
> Yes, but you have to understand what that means.  It means that
> "title" belongs to the "book" element-specific partition of the
> "urn:com:books-r-us" namespace.

I guess my question can be simply put thus: In the example (reproduced
below), for the <book> "title" attribute (5), should a DOM Level 2
implementation return "urn:com:books-r-us" as a namespace URI, or null?

<!-- 1 --> <section xmlns='urn:com:books-r-us'>
<!-- 2 -->   <title>Book-Signing Event</title>
<!-- 3 -->   <signing>
<!-- 4 -->     <author title="Mr" name="Vikram Seth" />
<!-- 5 -->     <book title="A Suitable Boy" price="$22.95" />
             </signing>
           </section>

Garret

Received on Thursday, 21 December 2000 14:06:12 UTC